speed-measure-webpack-plugin icon indicating copy to clipboard operation
speed-measure-webpack-plugin copied to clipboard

TypeError: Class extends value undefined is not a constructor or null

Open chenjian0915 opened this issue 3 years ago • 3 comments

The reason for the error is that when the version of mini-css-extract-plugin is greater than 1.3.5, when speed-measure-webpack-plugin is used, the title error will be reported webpack version: 5.27.2 webpack-cli version: 4.5.0 speed-measure-webpack-plugin version: 1.3.1 mini-css-extract-plugin version: >1.3.5

Modify the version of mini-css-extract-plugin to 1.3.5 to solve the problem

chenjian0915 avatar Mar 24 '21 03:03 chenjian0915

Modify the version of mini-css-extract-plugin to 1.3.5 to solve the problem

chenjian0915 avatar Mar 24 '21 03:03 chenjian0915

+1 same issue

beanlee avatar Apr 02 '21 07:04 beanlee

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
    at Object.pitch (/Users/xxxx/node_modules/mini-css-extract-plugin/dist/loader.js:50:14)

beanlee avatar Apr 02 '21 07:04 beanlee