parcel v2.6.0 Release Notes
Release Date: 2022-05-25 // almost 3 years ago-
โ Added
- โ Add React error overlay to display pretty runtime errors like Create React App - Details
- ๐ Support for source maps in HMR updates - Details
- ๐ Support for scoping variables in CSS modules - Details
- ๐ Support for custom CSS modules naming patterns - Details
- ๐ Support for node_modules packages in
@parcel/resolver-glob
- Details - โ Add support for defining
compilerOptions
in Vue config - Details - โ Add support for Vue 3
<script setup>
- Details - โ Add support for gif, tiff, avif, heic, and heif images in
@parcel/transformer-image
- Details - โ Add support for animated images (i.e. gifs, webp, etc.) in
@parcel/transformer-image
- Details - ๐ Support for missing fields in web extensions manifest v3 - Details, Details
- ๐ Improve elm compiler error output - Details
- ๐ Support for
useDefineForClassFields
option intsconfig.json
- Details - โ Add
--hmr-host
CLI option to set HMR host independently from dev server - Details
๐ Fixed
- โก๏ธ Update lmdb-js. Fixes Node 18 support - Details, Details
- โก๏ธ Update napi-rs to v2 - Details
- ๐ Fix SWC targets for older browsers - Details
- โ Add SWC error handler to fix panic during transpilation - Details
- โก๏ธ Update SWC. Fixes issue with
Symbol.toStringTag
- Details - โฌ๏ธ Bump SWC to fix spreads of imported symbols - Details
- ๐ฆ Correctly emit warnings for unnecessary PostCSS plugins in package.json - Details
- ๐ Fix typo in error message - Details
- โ Remove duplicate values in graph APIs when getting connected node ids - Details
- ๐ Fix Pug support in Vue files - Details
- ๐ Fix
export declare
syntax in generated TypeScript definitions - Details - 0๏ธโฃ Preserve correct
this
for named/default imports - Details - ๐ Fix hoisting for optional chaining member expressions - Details
- ๐ Fix issues with web extensions - Details
- ๐ฆ Reload the closest package.json to an asset if it's a package entry to fix
sideEffects
- Details - โ Only emit non static import bailout warnings for variables which correspond to a * import - Details