speed-measure-webpack-plugin
speed-measure-webpack-plugin copied to clipboard
use it with webpack5@beta22 VueLoaderPlugin It doesn't work
any solutions?
https://www.npmjs.com/package/speed-measure-webpack5-plugin this plugin works
I also encountered this problem.
ERROR in ./src/example/exampleTemplate/App.vue Module Error (from ./node_modules/vue-loader/lib/index.js): vue-loader was used without the corresponding plugin. Make sure to include VueLoaderPlugin in your webpack config. Error: vue-loader was used without the corresponding plugin. Make sure to include VueLoaderPlugin in your webpack config.
The plugins version is as follows: "speed-measure-webpack-plugin": "^1.5.0", "vue-loader": "^15.9.2", "webpack": "^5.50.0",
ERROR in ./src/App.vue Module Error (from ./node_modules/vue-loader/lib/index.js): vue-loader was used without the corresponding plugin. Make sure to include VueLoaderPlugin in your webpack config. Error: vue-loader was used without the corresponding plugin. Make sure to include VueLoaderPlugin in your webpack config. at Object.module.exports (/Users/mac/lw/1-my-project/wp-examples/node_modules/vue-loader/lib/index.js:36:29) @ ./src/index.js 3:0-28 24:13-16
webpack 5.51.1 compiled with 1 error in 2954 ms
I also encountered this problem.
此插件 https://www.npmjs.com/package/speed-measure-webpack5-plugin 工作原理
It doesn't work.
My code listed as follows:
const SpeedMeasurePlugin = require("speed-measure-webpack5-plugin");
const smp = new SpeedMeasurePlugin();
module.exports = smp.wrap(devWebpackConfig);
There is a TypeError thrown in the terminal.
TypeError: Cannot read property 'PROCESS_ASSETS_STAGE_ADDITIONS' of undefined
.....
Got the same Error too...
vue-loader was used without the corresponding plugin. Make sure to include VueLoaderPlugin in your webpack config.
Error: vue-loader was used without the corresponding plugin. Make sure to include VueLoaderPlugin in your webpack config.
dep
"speed-measure-webpack-plugin": "^1.5.0",
"vue-loader": "^15.6.2",
"webpack": "^5.70.0",
Moreover, I got this deprecation warning after added speed-measure-webpack-plugin
(node:61012) [DEP_WEBPACK_COMPILATION_NORMAL_MODULE_LOADER_HOOK] DeprecationWarning: Compilation.hooks.normalModuleLoader was moved to NormalModule.getCompilationHooks(compilation).loader
same Error
Module Error (from ../../node_modules/vue-loader/lib/index.js): vue-loader was used without the corresponding plugin. Make sure to include VueLoaderPlugin in your webpack config.
same error...
Module Error (from ../../node_modules/.pnpm/[email protected]_vsyllalxesco42bbuzcqgel7xq/node_modules/vue-loader/lib/index.js): vue-loader was used without the corresponding plugin. Make sure to include VueLoaderPlugin in your webpack config.
same error
Module Error (from ./node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/vue-loader/dist/index.js): vue-loader was used without the corresponding plugin. Make sure to include VueLoaderPlugin in your webpack config.
i also meet this problem when i use vue3.x in webpack5.