*Process native modules before node rewrites
This commit is contained in:
parent
22486b4f6a
commit
dae09bb090
|
@ -5,13 +5,13 @@ import { bundleNativeModulesPlugin } from "@lumeweb/rollup-plugin-bundle-native-
|
||||||
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() {
|
export default function preset() {
|
||||||
return defineConfig({
|
return defineConfig({
|
||||||
plugins: [
|
plugins: [
|
||||||
typescript(),
|
typescript(),
|
||||||
json(),
|
json(),
|
||||||
nodeResolve(),
|
bundleNativeModulesPlugin(),
|
||||||
commonjs(),
|
nodeResolve(),
|
||||||
bundleNativeModulesPlugin(),
|
commonjs(),
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue