-
Notifications
You must be signed in to change notification settings - Fork 12k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf(@angular/build): enable dependency prebundling for server depend…
…encies With this commit, we introduce Vite dependencies prebundling for server bundles. **Before:** ``` ng s Browser bundles Initial chunk files | Names | Raw size polyfills.js | polyfills | 90.87 kB main.js | main | 22.71 kB styles.css | styles | 95 bytes | Initial total | 113.67 kB Server bundles Initial chunk files | Names | Raw size chunk-4EGJGG5L.mjs | - | 1.80 MB polyfills.server.mjs | polyfills.server | 573.58 kB main.server.mjs | main.server | 224.03 kB chunk-QDHZVCWX.mjs | - | 2.57 kB render-utils.server.mjs | render-utils.server | 423 bytes Lazy chunk files | Names | Raw size chunk-XD2MYPRT.mjs | xhr2 | 40.04 kB Application bundle generation complete. [5.199 seconds] ``` **Now:** ``` ng s Browser bundles Initial chunk files | Names | Raw size polyfills.js | polyfills | 90.87 kB main.js | main | 22.71 kB styles.css | styles | 95 bytes | Initial total | 113.67 kB Server bundles Initial chunk files | Names | Raw size polyfills.server.mjs | polyfills.server | 573.58 kB main.server.mjs | main.server | 23.16 kB render-utils.server.mjs | render-utils.server | 472 bytes Application bundle generation complete. [2.880 seconds] ```
- Loading branch information
1 parent
e5cf3c8
commit dd94a83
Showing
2 changed files
with
44 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters