From e9f9361ddb2e2e5e580ece4c80da834352dde2b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hu=C3=A1ng=20J=C3=B9nli=C3=A0ng?= Date: Mon, 24 Jan 2022 17:22:01 -0500 Subject: [PATCH] do not specify external when building standalone --- Gulpfile.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Gulpfile.mjs b/Gulpfile.mjs index d752214c8f81..f0f99bb04228 100644 --- a/Gulpfile.mjs +++ b/Gulpfile.mjs @@ -319,7 +319,7 @@ function buildRollup(packages, buildStandalone) { fancyLog(`Compiling '${chalk.cyan(input)}' with rollup ...`); const bundle = await rollup({ input, - external, + external: buildStandalone ? [] : external, // all node modules are resolved as if they were placed in the n_m folder of package root preserveSymlinks: true, onwarn(warning, warn) { @@ -581,7 +581,7 @@ function* libBundlesIterator() { } let libBundles; -if (process.env.B_ALL) { +if (process.env.BABEL_8_BREAKING) { libBundles = [...libBundlesIterator()]; } else { libBundles = [