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) {