*Add dist
This commit is contained in:
parent
3e848bc836
commit
5e8ee4dab8
|
@ -0,0 +1,2 @@
|
|||
declare const preset: import("rollup").RollupOptions;
|
||||
export default preset;
|
|
@ -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;
|
23
package.json
23
package.json
|
@ -1,13 +1,14 @@
|
|||
{
|
||||
"name": "@lumeweb/relay-plugin-rollup-preset",
|
||||
"packageManager": "yarn@3.3.0",
|
||||
"dependencies": {
|
||||
"@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-node-resolve": "^15.0.1",
|
||||
"rollup": "^3.7.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"prettier": "^2.8.1"
|
||||
}
|
||||
"name": "@lumeweb/relay-plugin-rollup-preset",
|
||||
"packageManager": "yarn@3.3.0",
|
||||
"main": "dist/index.js",
|
||||
"dependencies": {
|
||||
"@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-node-resolve": "^15.0.1",
|
||||
"rollup": "^3.7.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"prettier": "^2.8.1"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue