note: la sintesi e le note di rilascio sono in inglese
note: nessuna sintesi per questa release più vecchia
Sintetizziamo le release recenti. Le note di rilascio originali di questa versione sono qui sotto.
release-notesgithub.com/webpack/webpack · 36 righe
- ### Features
- - Added `DotenvPlugin` and top level `dotenv` option to enable this plugin
- - Added `WebpackManifestPlugin`
- - Added support the `ignoreList` option in devtool plugins
- - Allow to use custom javascript parse function
- - Added `import.meta.env` support for environment variables
- - Added support for `import.meta.dirname` and `import.meta.filename`
- - Added support `import.defer()` for statistical path
- - Handle import.meta.main
- - Added suport to setup named exports for JSON modules and disable usage named export for `import file from "./file.json" with { type: "json" }`
- - Added support `__dirname`/`__filename`/`import.meta.dirname`/`import.meta.filename` for universal target
- - [CSS] Added the `exportType` option with `link` (by default), "text" and `css-style-sheet` values
- - [CSS] Added support for `composes` properties
- ### Fixes
- - The `dependOn` chunk must be loaded before the common chunk
- - Return to namespace import when the external request includes a specific export
- - No runtime extra runtime code for module libraries
- - Delay HMR accept dependencies to preserve import attributes
- - Properly handle external presets for universal target
- - Fixed incorrect identifier of import binding for module externals
- - Fixed when defer import and dynamic default export mixed
- - Reduce generated output when `globalThis` supported
- - Fixed loading async modules in defer import
- - Reexport module for default import when no used exports for systemjs library
- - Rename HarmonyExportDependencyParserPlugin exported id to CompatibilityPlugin tagged id
- - Handle `__dirname` and `__filename` for ES modules
- - Rename single nested `__webpack_export__` and `__webpack_require__` in already bundled code
- - [Types] webpack function type
- - [Types] NormalModule type
- - [Types] Multi compiler configuration type
- - [Types] Fixed regression in custom `hashDigest` type
- - [CSS] No extra runtime for initial chunk
- - [CSS] Fixed a lot of CSS modules bugs