From e98cf232ce65fe35036744655f6351601a7a9270 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sun, 1 Jan 2023 12:17:02 -0500 Subject: [PATCH] *Update dist --- dist/index.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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(), ], });