问题
在使用vue-cli打包编译的时候提示警告:entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
在根目录 vue.config.js中修改配置(没有的话手动创建)
module.exports = {
configureWebpack: {
// 关闭 webpack 的性能提示
performance: {
hints:false
}
}
}
重新编译
OK