BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation.

2024/04/25 13:49

Error

BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation.
Do changes to assets earlier, e. g. in Compilation.hooks.processAssets.
Make sure to select an appropriate stage from Compilation.PROCESS_ASSETS_STAGE_*.
unhandledRejection TypeError: Cannot read properties of undefined (reading ‘split’)
at CssModule.nameForCondition (E:\xampp01\htdocs\wx-saas\local-note02\node_modules\mini-css-extract-plugin\dist\index.js:76:39)
at test (E:\xampp01\htdocs\wx-saas\local-note02\node_modules\next\dist\build\webpack-config.js:729:119)
at checkTest (E:\xampp01\htdocs\wx-saas\local-note02\node_modules\next\dist\compiled\webpack\bundle5.js:28:1117059)

Solution

 

Leave a Reply

Back to top