From 491d0ec2e027baa86579fe2e8288ba29436be258 Mon Sep 17 00:00:00 2001 From: Sebastian Werner Date: Mon, 30 Jul 2018 14:26:32 +0200 Subject: [PATCH] Adjusted position of rebase plugin to execute first. --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 14e8779..66689f8 100644 --- a/src/index.js +++ b/src/index.js @@ -314,6 +314,7 @@ function bundleTo({ return dependency.charAt(0) !== "." }, plugins: [ + fileRebase, nodeResolve({ extensions: [ ".mjs", ".js", ".jsx", ".ts", ".tsx", ".json" ], jsnext: true, @@ -327,7 +328,6 @@ function bundleTo({ yamlPlugin(), jsonPlugin(), currentTranspiler, - fileRebase, transpilerId === "binary" ? executablePlugin() : null ].filter(Boolean) })