| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2026-03-13 | 3.7 kB | |
| v6.0.0 Node.js 22+, loaders upgrades, and Spring cleaning! source code.tar.gz | 2026-03-13 | 3.6 MB | |
| v6.0.0 Node.js 22+, loaders upgrades, and Spring cleaning! source code.zip | 2026-03-13 | 3.8 MB | |
| Totals: 3 Items | 7.4 MB | 0 | |
Hey packagers!
A new major release is here! 🎉
This version brings significant changes to modernize Webpack Encore:
- Node.js 22.13.0 is now the minimum required version, to prepare ESM-support for next major version
- Major loaders have been upgraded to their latest versions
- Deprecated options and unmaintained dependencies have been removed
- Vue 2 support leftovers have been completely cleaned up
BC Breaks
- Remove support of Node.js <22.13.0 by @Kocal in https://github.com/symfony/webpack-encore/pull/1395
- Remove support of babel-loader@^9.1.3, see possible BC breaks in 10.0.0 release notes by @Kocal in https://github.com/symfony/webpack-encore/pull/1395
- Remove support of style-loader@^3.3.0, see possible BC breaks in 4.0.0 release notes by @Kocal in https://github.com/symfony/webpack-encore/pull/1395
- Remove support of less-loader@^11.0.0, see possible BC breaks in 12.0.0 release notes by @Kocal in https://github.com/symfony/webpack-encore/pull/1395
- Remove support of postcss-loader@^7.0.0, see possible BC breaks in 8.0.0 release notes by @Kocal in https://github.com/symfony/webpack-encore/pull/1395
- Remove support of stylus-loader@^7.0.0, see possible BC breaks in 8.0.0 release notes by @Kocal in https://github.com/symfony/webpack-encore/pull/1395
- Remove support of webpack-cli@^5.0.0, see possible BC breaks in 6.0.0 release notes
- Remove unmaintained file-loader dependency by @Kocal in https://github.com/symfony/webpack-encore/pull/1398
The
[N]placeholder (regex capture groups in filename patterns) is no longer supported. If you were using patterns like[1]or[2]in yourEncore.copyFiles()filename option, you will need to restructure your file organization or use a different naming strategy. - Remove deprecated
--httpsflag anddevServerConfig.httpsoption for webpack-dev-server by @Kocal in https://github.com/symfony/webpack-encore/pull/1400 Use--server-type httpsorconfigureDevServerOptions()withserver: 'https'instead
Features
- Update @nuxt/friendly-errors-webpack-plugin to @kocal/friendly-errors-webpack-plugin, a maintained fork of the original plugin
- Update webpack from ^5.74.0 to ^5.82.0 by @Kocal in https://github.com/symfony/webpack-encore/pull/1395
- Update css-minimizer-webpack-plugin to ^8.0.0, see release notes
- Finish removing Vue 2 support leftovers (JSX code path,
vue-jsxfeature,version: 2option, Vue 2 peer dependencies), which was forgotten during v5.0.0 by @Kocal in https://github.com/symfony/webpack-encore/pull/1399
Internal
- Cleanup
useStimulusBridgeandstimulusfrom features by @Kocal in https://github.com/symfony/webpack-encore/pull/1394 - Add AGENTS.md by @Kocal in https://github.com/symfony/webpack-encore/pull/1397
- Follow-up [#1400] (fix URLs generation) by @Kocal in https://github.com/symfony/webpack-encore/pull/1401
Upgrading
Run:
:::shell
npm install "@symfony/webpack-encore@^6.0.0" --save-dev
or:
:::shell
yarn add "@symfony/webpack-encore@^6.0.0" --dev
or:
:::shell
pnpm install "@symfony/webpack-encore@^6.0.0" --save-dev
Full Changelog: https://github.com/symfony/webpack-encore/compare/v5.3.1...v6.0.0