Skip to content

Commit bd789f5

Browse files
alan-agius4Keen Yee Liau
authored and
Keen Yee Liau
committed
refactor(@angular-devkit/build-angular): remove deprecation of namedChunks
Previusly this option didn't have an effect on platform server because when targetting commonjs all chunks will be concatenated into main.js. We now changed the module to esnext, which enables us to have lazy loading on the server.
1 parent e57fa81 commit bd789f5

File tree

1 file changed

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

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,8 +213,7 @@
213213
"namedChunks": {
214214
"type": "boolean",
215215
"description": "Use file name for lazy loaded chunks.",
216-
"default": true,
217-
"x-deprecated": "Since version 9. This option has no effect on server platform."
216+
"default": true
218217
},
219218
"bundleDependencies": {
220219
"description": "Which external dependencies to bundle into the bundle. By default, all of node_modules will be bundled.",

0 commit comments

Comments
 (0)