v2.8.0
Blog post: https://parceljs.org/blog/v2-8-0/
Added
- Core
- Code splitting across reexports using symbol data by splitting dependencies β Details
- Update without bundling for non-dependency related changes β Details
- Improve performance of incremental bundling β Details
- Only serialize and send shared references to workers that need them β Details
- Improve performance of HMR by not waiting for packaging β Details
- JavaScript
- SVG
- Generate typescript for SVGs when using svgr and typescript option β Details
- Bundler
- Move experimental bundler to default β Details
Fixed
- Core
- Fix verbose warning: reexport all doesn't include default β Details
- Support multiple edge types in Graph.hasEdge β Details
- Ensure edge exists before removal in Graph.removeEdge β Details
- Disable splitting dependencies on symbols for non-scope hoisted bundles β Details
- Fix TypeScript definitions for Parcel config API β Details
- Use traverseAssets in packager to improve performance β Details
- Make uniqueKey undefined by default β Details
- Catch uncaught promise build abort race β Details
- Bump parcel dependencies β Details
- JavaScript
- Bump SWC - Details, Details
- Fix Chrome Android browserslist support check β Details
- Fix CommonJS symbol collection without scope hoisting β Details
- Make React Refresh debounce call on the leading edge β Details
- Retain correct dependency order between imports and reexports without scopehoisting β Details
- Bundler
- Dev server
- Include
Content-Length
header in HEAD requests β Details
- Include
- Vue
- Image
- Upgrade sharp β Details
- TypeScript
- Allow configuring module resolution β Details
- Web extensions
- Fix service worker packaging in web extensions β Details