From 979b93a5d3b27ba7d6b8c011a6c46086ea30197a Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Wed, 14 Dec 2022 13:14:09 -0500 Subject: [PATCH] *Process native modules before node rewrites --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index e64e683..7c0fdb9 100644 --- a/src/index.ts +++ b/src/index.ts @@ -10,9 +10,9 @@ export default function preset(): RollupOptions { plugins: [ typescript(), json(), + bundleNativeModulesPlugin(), nodeResolve(), commonjs(), - bundleNativeModulesPlugin(), ], }); }