Release Notes / Version 12.2404
Table Of ContentsWebpack was upgraded to 5.90.3. This also includes upgrades to all associates loader and plugin packages in theme-utils as well as node-sass. This change was necessary to be able to upgrade to NodeJS 20 LTS.
Update steps:
Please run pnpm remove -r cross-env
and adjust the
following entry of your themes' package.json
files
from:
"scripts": { ... "build": "cross-env NODE_OPTIONS=--openssl-legacy-provider webpack", ... }
back to
"scripts": { ... "build": "webpack", ... }
Please also make sure that the “webpack” entry is adjusted to “^5.90.3”.
If you have made any customizations to the
webpack.config.js
of your themes, you might need to
make further adjustments like adjusting configuration or upgrading
your used webpack loaders and plugins for compatibility. The offical
upgrade guide can be found here:
https://webpack.js.org/migrate/5/
(CMS-17725)