Compare commits
No commits in common. "09e55ea36ffae36c4c9353479d419ecfa0031569" and "b32073e35c9f0340de45308f060ee347a316dd2f" have entirely different histories.
09e55ea36f
...
b32073e35c
|
@ -13,4 +13,4 @@ const preset = defineConfig({
|
||||||
bundleNativeModulesPlugin(),
|
bundleNativeModulesPlugin(),
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
export default ;
|
export default preset;
|
||||||
|
|
24
src/index.ts
24
src/index.ts
|
@ -1,18 +1,18 @@
|
||||||
import { defineConfig, RollupOptions } from "rollup";
|
import { defineConfig } from "rollup";
|
||||||
import commonjs from "@rollup/plugin-commonjs";
|
import commonjs from "@rollup/plugin-commonjs";
|
||||||
import { nodeResolve } from "@rollup/plugin-node-resolve";
|
import { nodeResolve } from "@rollup/plugin-node-resolve";
|
||||||
import { bundleNativeModulesPlugin } from "@lumeweb/rollup-plugin-bundle-native-modules";
|
import { bundleNativeModulesPlugin } from "@lumeweb/rollup-plugin-bundle-native-modules";
|
||||||
import typescript from "@rollup/plugin-typescript";
|
import typescript from "@rollup/plugin-typescript";
|
||||||
import json from "@rollup/plugin-json";
|
import json from "@rollup/plugin-json";
|
||||||
|
|
||||||
export default function preset(): RollupOptions {
|
const preset = defineConfig({
|
||||||
return defineConfig({
|
plugins: [
|
||||||
plugins: [
|
typescript(),
|
||||||
typescript(),
|
json(),
|
||||||
json(),
|
nodeResolve(),
|
||||||
nodeResolve(),
|
commonjs(),
|
||||||
commonjs(),
|
bundleNativeModulesPlugin(),
|
||||||
bundleNativeModulesPlugin(),
|
],
|
||||||
],
|
});
|
||||||
});
|
|
||||||
}
|
export default preset;
|
||||||
|
|
Loading…
Reference in New Issue