Ffast-FE
Ffast-FE copied to clipboard
run dev 报错 "exceeds the max of "500KB"
本地运行项目run dev时报错
Starting dev server... [BABEL] Note: The code generator has deoptimised the styling of "xxxx/Temp/vue/Ffast-FE/node_modules/iview/dist/iview.js" as it exceeds the max of "500KB".
在webpack.base.conf里有三条js处理规则,不知道这两条是什么目的?
{
test: /iview\/.*?js$/,
loader: 'babel-loader'
},
{
test: /\.js$/,
loader: 'babel-loader',
exclude: /node_modules/
},
注销之后run dev正常……
你看看npm run build会不会报错,如果没报错就可以删掉,这个好像是之前iview更新导致打包异常才加入的