Zum Inhalt springen
verdict:

webpack 5.103.0

notable

note: die Zusammenfassung und die Release Notes sind auf Englisch

note: keine Zusammenfassung für dieses ältere Release

Wir fassen die neueren Releases zusammen. Die originalen Release Notes dieser Version stehen hier unten.

release-notesgithub.com/webpack/webpack · 36 Zeilen
  1. ### Features
  2. - Added `DotenvPlugin` and top level `dotenv` option to enable this plugin
  3. - Added `WebpackManifestPlugin`
  4. - Added support the `ignoreList` option in devtool plugins
  5. - Allow to use custom javascript parse function
  6. - Added `import.meta.env` support for environment variables
  7. - Added support for `import.meta.dirname` and `import.meta.filename`
  8. - Added support `import.defer()` for statistical path
  9. - Handle import.meta.main
  10. - Added suport to setup named exports for JSON modules and disable usage named export for `import file from "./file.json" with { type: "json" }`
  11. - Added support `__dirname`/`__filename`/`import.meta.dirname`/`import.meta.filename` for universal target
  12. - [CSS] Added the `exportType` option with `link` (by default), "text" and `css-style-sheet` values
  13. - [CSS] Added support for `composes` properties
  14. ### Fixes
  15. - The `dependOn` chunk must be loaded before the common chunk
  16. - Return to namespace import when the external request includes a specific export
  17. - No runtime extra runtime code for module libraries
  18. - Delay HMR accept dependencies to preserve import attributes
  19. - Properly handle external presets for universal target
  20. - Fixed incorrect identifier of import binding for module externals
  21. - Fixed when defer import and dynamic default export mixed
  22. - Reduce generated output when `globalThis` supported
  23. - Fixed loading async modules in defer import
  24. - Reexport module for default import when no used exports for systemjs library
  25. - Rename HarmonyExportDependencyParserPlugin exported id to CompatibilityPlugin tagged id
  26. - Handle `__dirname` and `__filename` for ES modules
  27. - Rename single nested `__webpack_export__` and `__webpack_require__` in already bundled code
  28. - [Types] webpack function type
  29. - [Types] NormalModule type
  30. - [Types] Multi compiler configuration type
  31. - [Types] Fixed regression in custom `hashDigest` type
  32. - [CSS] No extra runtime for initial chunk
  33. - [CSS] Fixed a lot of CSS modules bugs

auf github ansehenimported 2026-09-28 über npm