fix(@angular/build): always disable JSON stats with dev-server · angular/angular-cli@fb14c14 · GitHub
Skip to content

Commit fb14c14

Browse files
committed
fix(@angular/build): always disable JSON stats with dev-server
When using the development server, the `statsJson` option will now unconditionally be disabled. The output JSON file is not accessible with the server and the analysis/generation of the JSON file may increase the rebuild time. Additionally, the JSON file changes during a rebuild may unexpectedly cause component HMR fallback to a full reload due to non-component file changes in the build output.
1 parent 92aa9e0 commit fb14c14

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎packages/angular/build/src/builders/dev-server/vite-server.ts‎

Lines changed: 4 additions & 0 deletions

0 commit comments

Comments
 (0)