diff --git a/dist/index.js b/dist/index.js index 3a6a06f..bdad89e 100644 --- a/dist/index.js +++ b/dist/index.js @@ -10,7 +10,10 @@ export default function preset() { typescript(), json(), bundleNativeModulesPlugin(), - nodeResolve(), + nodeResolve({ + mainFields: ["main"], + exportConditions: ["node", "require", "default"], + }), commonjs(), ], });