aboutsummaryrefslogtreecommitdiff
path: root/build.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'build.mjs')
-rwxr-xr-xbuild.mjs2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.mjs b/build.mjs
index 5b0b1c0..b59ebef 100755
--- a/build.mjs
+++ b/build.mjs
@@ -13,7 +13,7 @@ const watch = process.argv.includes("--watch");
* @type {esbuild.Plugin}
*/
const makeAllPackagesExternalPlugin = {
- name: 'make-all-packages-external',
+ name: "make-all-packages-external",
setup(build) {
let filter = /^[^.\/]|^\.[^.\/]|^\.\.[^\/]/; // Must not start with "/" or "./" or "../"
build.onResolve({ filter }, args => ({ path: args.path, external: true }));