From 1e618f940f25a36f61388bef8fd932943bf3b764 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gulpfile.mjs b/Gulpfile.mjs index d752214c8f81..40f9fc0f8249 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) {