diff --git a/dist/index.d.ts b/dist/index.d.ts index b8c996d..34d0d5b 100644 --- a/dist/index.d.ts +++ b/dist/index.d.ts @@ -1,2 +1,2 @@ -declare const preset: import("rollup").RollupOptions; -export default preset; +import { RollupOptions } from "rollup"; +export default function preset(): RollupOptions; diff --git a/dist/index.js b/dist/index.js index ae3fa00..81b766d 100644 --- a/dist/index.js +++ b/dist/index.js @@ -4,13 +4,14 @@ import { nodeResolve } from "@rollup/plugin-node-resolve"; import { bundleNativeModulesPlugin } from "@lumeweb/rollup-plugin-bundle-native-modules"; import typescript from "@rollup/plugin-typescript"; import json from "@rollup/plugin-json"; -const preset = defineConfig({ - plugins: [ - typescript(), - json(), - nodeResolve(), - commonjs(), - bundleNativeModulesPlugin(), - ], -}); -export default ; +export default function preset() { + return defineConfig({ + plugins: [ + typescript(), + json(), + nodeResolve(), + commonjs(), + bundleNativeModulesPlugin(), + ], + }); +}