-
-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Description
- Webpack Version: 5.74.0
- Operating System (or Browser): os
- Node Version: v14.17.3
- webpack-plugin-serve Version:1.6.0
How Do We Reproduce?
Expected Behavior
when using cache in webpack5, minimal changes will cost minimal time to rebuild project
however, using webpack-plugin-serve , just "ctrl + S" , touching a file will cost webpack much time to rebuild
Actual Behavior
even using ramdisk which is useful in significant reduction of build time is helpless
e.g:
with webpack-plugin-serve, result of touching file for rebuild
assets by status 2.28 MiB [cached] 4 assets
asset index.html 379 bytes [emitted]
cached modules 29.9 KiB [cached] 14 modules
modules by path ./node_modules/core-js/ 96.9 KiB
modules by path ./node_modules/core-js/internals/*.js 76.2 KiB 120 modules
modules by path ./node_modules/core-js/modules/*.js 20.7 KiB 11 modules
modules by path ./src/ 9.55 KiB 22 modules
modules by path ./node_modules/webpack-plugin-serve/ 25.2 KiB 9 modules
modules by path ./node_modules/vue/dist/*.js 581 KiB
./node_modules/vue/dist/vue.runtime.esm.js 297 KiB [built]
./node_modules/vue/dist/vue.runtime.common.js 173 bytes [built]
./node_modules/vue/dist/vue.runtime.common.dev.js 283 KiB [built]
./node_modules/vue-router/dist/vue-router.esm.js 81.6 KiB [built]
./node_modules/vue-loader/lib/runtime/componentNormalizer.js 2.7 KiB [built]
./node_modules/vue-hot-reload-api/dist/index.js 7.13 KiB [built]
0 (webpack 5.75.0) compiled successfully in 392 ms
without it, result of touching file for rebuild
assets by status 1.5 MiB [cached] 4 assets
asset index.html 379 bytes [emitted]
cached modules 513 KiB (javascript) 6.59 KiB (runtime) [cached] 177 modules
webpack 5.75.0 compiled successfully in 45 ms
any good idea for that?
thanks for replying whatever
Metadata
Metadata
Assignees
Labels
No labels