![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
webpack
khadijiah
快快乐乐
展开
-
webpack 报错:no such file or directory, open ‘webpack/template/layouts/main.handlebars
webpack 报错:no such file or directory, open 'webpack/template/layouts/main.handlebars转载 2022-06-28 19:30:46 · 382 阅读 · 0 评论 -
webpack: hard-source-webpack-plugin-速度优化
1、背景 在项目实现的过程中,想在代码更改的同时,查看效果的改变,而这个时候长时间的编译等待,造成了额外的时间浪费。2、简介HardSourceWebpackPlugin是webpack的插件,为模块提供中间缓存步骤。为了查看结果,需要使用此插件运行webpack两次:第一次构建将花费正常的时间。第二次构建将显着加快(大概提升90%的构建速度)。3、实现安装:yarn add --dev hard-source-webpack-plugin(或者使用npm)。并在webpack的插件配置中添原创 2020-06-08 19:18:19 · 3835 阅读 · 1 评论 -
vue使用webpack构建时的报错
错误如下:No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred.解决:方法一:升级:vue-loader@1...原创 2019-08-14 16:10:02 · 432 阅读 · 0 评论