Skip to content

Commit

Permalink
#208: fix bundleDependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
ilg-ul committed Nov 21, 2024
1 parent cf7547b commit 70df850
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/xpm/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,9 @@ export class Init extends CliCommand {
CliExitCodes.ERROR.APPLICATION)
}

if (globalJson.bundledDependencies === undefined) {
// Keep bundled for compatibility.
if (globalJson.bundleDependencies === undefined &&
globalJson.bundledDependencies === undefined) {
// Old templates did not bundle dependencies and
// required a full install.
log.info('Installing npm dependencies...')
Expand Down

0 comments on commit 70df850

Please sign in to comment.