*Add dist

This commit is contained in:
Derrick Hammer 2022-12-14 09:54:58 -05:00
parent 3e848bc836
commit 5e8ee4dab8
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
3 changed files with 22 additions and 11 deletions

2
dist/index.d.ts vendored Normal file
View File

@ -0,0 +1,2 @@
declare const preset: import("rollup").RollupOptions;
export default preset;

8
dist/index.js vendored Normal file
View File

@ -0,0 +1,8 @@
import { defineConfig } from "rollup";
import commonjs from "@rollup/plugin-commonjs";
import { nodeResolve } from "@rollup/plugin-node-resolve";
import { bundleNativeModulesPlugin } from "@lumeweb/rollup-plugin-bundle-native-modules";
const preset = defineConfig({
plugins: [nodeResolve(), commonjs(), bundleNativeModulesPlugin()],
});
export default preset;

View File

@ -1,6 +1,7 @@
{ {
"name": "@lumeweb/relay-plugin-rollup-preset", "name": "@lumeweb/relay-plugin-rollup-preset",
"packageManager": "yarn@3.3.0", "packageManager": "yarn@3.3.0",
"main": "dist/index.js",
"dependencies": { "dependencies": {
"@lumeweb/rollup-plugin-bundle-native-modules": "https://git.lumeweb.com/LumeWeb/rollup-plugin-bundle-native-modules.git", "@lumeweb/rollup-plugin-bundle-native-modules": "https://git.lumeweb.com/LumeWeb/rollup-plugin-bundle-native-modules.git",
"@rollup/plugin-commonjs": "^23.0.4", "@rollup/plugin-commonjs": "^23.0.4",