Compare commits

..

2 Commits

Author SHA1 Message Date
Derrick Hammer 09e55ea36f
*Update dist 2022-12-14 10:16:03 -05:00
Derrick Hammer 773f1b7b75
*Export function that returns a defineConfig 2022-12-14 10:15:51 -05:00
2 changed files with 13 additions and 13 deletions

2
dist/index.js vendored
View File

@ -13,4 +13,4 @@ const preset = defineConfig({
bundleNativeModulesPlugin(),
],
});
export default preset;
export default ;

View File

@ -1,18 +1,18 @@
import { defineConfig } from "rollup";
import { defineConfig, RollupOptions } from "rollup";
import commonjs from "@rollup/plugin-commonjs";
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 preset;
export default function preset(): RollupOptions {
return defineConfig({
plugins: [
typescript(),
json(),
nodeResolve(),
commonjs(),
bundleNativeModulesPlugin(),
],
});
}