Bug Fixes
- Don't crash with filesystem cache and unknown scheme
- Generate a valid code when
output.iife
istrue
and output.library.type isumd
- Fixed conflict variable name with concatenate modules and runtime code
- Merge duplicate chunks before
- Collisions in ESM library
- Use recursive search for versions of shared dependencies
- [WASM] Don't crash WebAssembly with Reference Types (sync and async)
- [WASM] Fixed wasm loading for sync and async webassembly
- [CSS] Don't add
[uniqueName]
tolocalIdentName
when it is empty - [CSS] Parsing strings on Windows
- [CSS] Fixed CSS local escaping
New Features
- Added support for injecting debug IDs
- Export the
MergeDuplicateChunks
plugin - Added universal loading for JS chunks and JS worker chunks (only ES modules)
- [WASM] Added universal loading for WebAssembly chunks (only for async WebAssembly)
- [CSS] Allow initial CSS chunks to be placed anywhere - the
output.cssHeadDataCompression
option was deleted - [CSS] Added universal loading for CSS chunks
- [CSS] Parse ICSS
@value
at-rules in CSS modules - [CSS] Parse ICSS
:import
rules in CSS modules - [CSS] Added the
url
andimport
options for CSS - [CSS] Allow to import custom properties in CSS modules
Performance
- Faster Queue implementation, also fixed queue iterator state in dequeue method to ensure correct behavior after item removal