*Force commonjs resolution
This commit is contained in:
parent
69380c7b8e
commit
14c030695d
|
@ -11,7 +11,10 @@ export default function preset(): RollupOptions {
|
|||
typescript(),
|
||||
json(),
|
||||
bundleNativeModulesPlugin(),
|
||||
nodeResolve(),
|
||||
nodeResolve({
|
||||
mainFields: ["main"],
|
||||
exportConditions: ["node", "require", "default"],
|
||||
}),
|
||||
commonjs(),
|
||||
],
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue