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