speed-measure-webpack-plugin
speed-measure-webpack-plugin copied to clipboard
⏱ See how fast (or not) your plugins and loaders are, so you can optimise your builds
+1
"html-webpack-plugin": "^4.0.0-beta.2", get error: Failed to compile: TypeError: Cannot read property 'hash' of undefined - compiler.js:292 childCompiler.compileTemplates.then [imt]/[html-webpack-plugin]/lib/compiler.js:292:30 - next_tick.js:68 process._tickCallback internal/process/next_tick.js:68:7 - loader.js:745 Function.Module.runMain internal/modules/cjs/loader.js:745:11 - node.js:279 startup internal/bootstrap/node.js:279:19...
While using SMP in our webpack configuration, if I force a failure like this: ``` typescript const value: string = {} ``` Type '{}' is not assignable to type 'string'.ts(2322)...
both use speed-measure and add-asset-html , would cause ``` compiling Cannot read property 'toPromise' of undefined ``` i don't know why ,
webpack5
ERROR in ../../node_modules/antd/lib/button/style/index.css Module build failed (from ../../node_modules/mini-css-extract-plugin/dist/loader.js): Error: You forgot to add 'mini-css-extract-plugin' plugin (i.e. `{ plugins: [new MiniCssExtractPlugin()] }`), please read https://github.com/webpack-contrib/mini-css-extract-plugin#getting-started
this might fix https://github.com/stephencookdev/speed-measure-webpack-plugin/issues/44 I saw issues with incremental builds especially with `HardSourceWebpackPlugin`. This changes fixes it for me. Debugging HardSourceWebpackPlugin, it looks like they are modifying the hooks objects...
I can't seem to make it work on webpack 5
Hi Stephen, This seemed like a pretty useful concept, however - when I tried it and enabled the plugin, the build times went from 160 seconds to over 1000 seconds...
https://webpack.js.org/configuration/optimization/ '...' can be used in optimization.minimizer to access the defaults. so when i use ```minimizer: [new CssMinimizerPlugin(), '...'],``` build get error TypeError: Cannot create proxy with a non-object as...