Skip to content

Commit fb24f30

Browse files
alan-agius4Keen Yee Liau
authored and
Keen Yee Liau
committed
feat(@angular-devkit/build-angular): enable bundleDependencies by default for server builder
BREAKING CHANGE: bundleDependencies default value has been changed from none to all. This will result in all of node_modules to be bundled in the final server bundle. Under Ivy, if users choose to opt-out from bundling dependencies they will need to run NGCC binary manually to make non-bundled node_modules compatible with Ivy.
1 parent 9300627 commit fb24f30

File tree

1 file changed

+2
-2
lines changed
  • packages/angular_devkit/build_angular/src/server

1 file changed

+2
-2
lines changed

packages/angular_devkit/build_angular/src/server/schema.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,8 @@
194194
},
195195
"bundleDependencies": {
196196
"type": "string",
197-
"description": "Available on server platform only. Which external dependencies to bundle into the module. By default, all of node_modules will be kept as requires.",
198-
"default": "none",
197+
"description": "Available on server platform only. Which external dependencies to bundle into the module. By default, all of node_modules will be bundled.",
198+
"default": "all",
199199
"enum": [
200200
"none",
201201
"all"

0 commit comments

Comments
 (0)