Skip to content

Commit

Permalink
do not specify external when building standalone
Browse files Browse the repository at this point in the history
  • Loading branch information
JLHwung committed Jan 24, 2022
1 parent 077018c commit e9f9361
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Gulpfile.mjs
Expand Up @@ -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) {
Expand Down Expand Up @@ -581,7 +581,7 @@ function* libBundlesIterator() {
}

let libBundles;
if (process.env.B_ALL) {
if (process.env.BABEL_8_BREAKING) {
libBundles = [...libBundlesIterator()];
} else {
libBundles = [
Expand Down

0 comments on commit e9f9361

Please sign in to comment.