Blog post: https://parceljs.org/blog/v2-12-0/
Added
-
Core
- Add REPL playground for Parcel to the website β Details
- Improve package manager detection for auto install β Details
-
JavaScript
- Add support for JS macros β Details
- Statically evaluate constants referenced by macros β Details
- Upgrade to ESLint 8 β Details
- Bump swc β Details
-
CSS
- Use lightningcss to implement CSS packager β Details
-
Bundler
- Rename "parentAsset" to "root" for Manual Shared Bundle config and remove unstable prefix β Details
-
Web Extensions
- Add content script world property to manifest schema validation β Details
-
Performance
- Adjacency list optimizations β Details
- Break up request graph cache serialisation and run after build completion β Details
Fixed
-
Core
- Drop per-pipeline transformation cache β Details
- Clippy and use napi's Either3 β Details
- Add lazy/eager cache key to avoid invalid change when switching modes β Details
-
JavaScript
- Remove decl_collector pass and use SWC's unresolved_mark instead β Details
-
Bundler
- Fix multiple css bundles in entry bundle groups issue β Details
- Allow parallel type change bundles to be reused by async siblings β Details
- Skip on missing parent asset for manual shared bundles β Details
Unstable
- Add source map support to the inline-require optimizer β Details