webpack3.x升级至4.x每次编译的时候控制台都会出现一大堆资源信息
i 「wdm」: Hash: 047c61656a2f8618ce3d
Version: webpack 4.28.4
Time: 39692ms
Built at: 2019-01-13 20:20:48
Asset Size Chunks Chunk Names
0.js 31.1 KiB 0 [emitted]
app.js.map 3.2 MiB app [emitted] app
index.html 588 bytes [emitted]
static/fonts/element-icons.6f0a763.ttf 10.8 KiB [emitted]
static/fonts/iconfont.35375ce.ttf 34.7 KiB [emitted]
static/fonts/iconfont.5b68104.eot 34.9 KiB [emitted]
static/img/iconfont.6a7316b.svg 216 KiB [emitted]
Entrypoint app = app.js app.js.map
[0] multi ./build/dev-client ./src/main.js 40 bytes {app} [built]
[./build/dev-client.js] 255 bytes {app} [built]
[./node_modules/element-ui/lib/element-ui.common.js] 956 KiB {app} [built]
[./node_modules/element-ui/lib/theme-chalk/index.css] 973 bytes {app} [built]
[./node_modules/event-source-polyfill/src/eventsource.js] 28.2 KiB {app} [built]
[./node_modules/form-create/dist/form-create.js] 97 KiB {app} [built]
[./node_modules/vue/dist/vue.esm.js] 289 KiB {app} [built]
[./node_modules/webpack-hot-middleware/client.js?noInfo=true&reload=true] (webpack)-hot-middleware/client.js?noInfo=true&reload=true 7.59 KiB {app} [built]
[./src/App.vue] 1.08 KiB {app} [built]
[./src/components/common/AppButtonLoading.vue] 1.13 KiB {app} [built]
[./src/const/MyAxios.js] 6.44 KiB {app} [built]
[./src/const/axios.js] 1.06 KiB {app} [built]
[./src/const/tool.js] 9.3 KiB {app} [built]
[./src/fonts/iconfont.css] 1020 bytes {app} [built]
[./src/main.js] 1.32 KiB {app} [built]
+ 1769 hidden modules
Child html-webpack-plugin for "index.html":
Asset Size Chunks Chunk Names
index.html 557 KiB 0
Entrypoint undefined = index.html
[./node_modules/html-webpack-plugin/lib/loader.js!./index.html] 759 bytes {0} [built]
[./node_modules/lodash/lodash.js] 527 KiB {0} [built]
[./node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 472 bytes {0} [built]
[./node_modules/webpack/buildin/module.js] (webpack)/buildin/module.js 497 bytes {0} [built]
i 「wdm」: Compiled successfully.
> Listening at http://localhost:8080
就是类似以上这种信息,尝试过使用stats
,但是没有效果。哪位大神遇到过?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论