-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Requirements
- For each theme that is processed, all deployed
.jsfiles that are not incore-bundle.jsshould be minified through terser - Minified files should be written in-place (same file name) to avoid the need for any path rewriting at build or runtime.
- Minification should happen in worker threads, to speed up compilation time and avoid blocking the main thread's bundling work
Pieces
- For worker-based minification, there's already the
createMinifiermodule that will create a pool of minification workers. We'll want to add aminifyFromFileAPI, though, so we don't need to read loose files into memory in the main process and then serialize/transfer/parse in the worker
jellesiderius and marcin-stasiak
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request