*Initial version
This commit is contained in:
parent
74e62e73d4
commit
3e848bc836
|
@ -0,0 +1 @@
|
||||||
|
nodeLinker: node-modules
|
|
@ -0,0 +1,13 @@
|
||||||
|
{
|
||||||
|
"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"
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,10 @@
|
||||||
|
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;
|
|
@ -0,0 +1,15 @@
|
||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
"target": "es2020",
|
||||||
|
"module": "esnext",
|
||||||
|
"moduleResolution": "node",
|
||||||
|
"rootDir": "src",
|
||||||
|
"outDir": "dist",
|
||||||
|
"esModuleInterop": true,
|
||||||
|
"forceConsistentCasingInFileNames": true,
|
||||||
|
"strict": true,
|
||||||
|
"skipLibCheck": true,
|
||||||
|
"resolveJsonModule": true,
|
||||||
|
"declaration": true
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue