-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does it work with webpack 5? #149
Comments
It's the exception I encountered for future reference.
|
Got the same issue. |
4 similar comments
Got the same issue. |
Got the same issue. |
Got the same issue. |
Got the same issue. |
Got the same issue. |
1 similar comment
Got the same issue. |
It still doesn't work on webpack 5.11.0 |
Got the same issue. |
If you have the same issue, everybody, please just put a "thumbs-up" reaction on the original post, instead of replying "me too". This is important because everyone watching the issue for news will be notified every time you leave a comment. |
Tried the version in the PR to this issue but another error happened. This time is with html-webpack-plugin 5.0.0-beta.5.
|
[webpack-cli] TypeError: Cannot read property 'PROCESS_ASSETS_STAGE_ADDITIONS' of undefined |
Same here with Webpack 5.20+ and SMP 1.4.2 (node:11916) [DEP_WEBPACK_COMPILATION_NORMAL_MODULE_LOADER_HOOK] DeprecationWarning: Compilation.hooks.normalModuleLoader was moved to NormalModule.getCompilationHooks(compilation).loader (node:11916) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'PROCESS_ASSETS_STAGE_OPTIMIZE_INLINE' of undefined |
版本问题???? |
Putting this here as I believe it to be webpack 5 related and I tried the mini-css fix of putting it to 1.35. I get this error below: Error: ObjectMiddleware.register: serializer for mini-css-extract-plugin/dist/CssModule/null is already registered |
@SamuelTrew - I get the exact same error. Did you find a solution? |
I ended up removing the @types/webpack dependency as it is apparently deprecated with webpack 5. That fixed it as I believe it was referring to old types |
@SamuelTrew I've got the same error as you, but I do not have Checking my config file, i've been using the mini-css three times (to generate different filenames, to maintain retrocompatibility) and works fine without speed-measure. Maybe something related to that. |
Hi guys, I am writing a successor of this plugin: https://github.com/ShuiRuTian/time-analytics-webpack-plugin. You could have a try with it. I believe it's providing a better experience for webpack 5. It's in an early period(the API is not frozen and maybe buggy), but it's working for me. Any feedback is welcomed! |
Working but getting this,
"webpack": "^5.65.0", (apparently also on 5.75.0 still happening) webpack has deprecated that hook but speed measure plugin still referencing it. Original |
I can't seem to make it work on webpack 5
The text was updated successfully, but these errors were encountered: