Fixes
- Fixed a lot of types
- Fixed runtime error when using asset module as entrypoint and runtimeChunk
- JSON generator now preserves
__proto__property - Fixed when entry module isn't executed when targeting webworker with a runtime chunk
- Do not duplicate modules with import attributes and reexport
- The
moduleandmoduleESM libraries have been union and code generation has been improved - Use a valid output path for errored asset modules
- Remove BOM from JavaScript and CSS files when loader was not used
- Create export for externals for module/modern-module library
- Export unprovided variables for
commonjs-staticlibrary - Forward semicolons from
meta.webpackAST - Use
xxhash64forcache.hashAlgorithmwhenexperiments.futureDefaultsenabled - [CSS] Fixed profiling plugin for CSS
- [CSS] Avoid extra module.export output for CSS module
Features
- Add dead control flow check
- Handle
new Worker(import.meta.url)andnew Worker(new URL(import.meta.url))syntax - Added ability to generate custom error content for generators
Performance Improvements
- Fixed excessive calls of getAllReferences
- Optimize loc for monomorphic inline caching
Chores
- Switch on
stricttypes fortypescript