These dependencies were not found:core-js/modules/es.array.concat in ./node_modules/cache-loader/dis
1.在网上查了一番,是core-js版本太高导致的2.这里在babel.config.js文件里面加上presets: [ [ "@vue/app", { useBuiltIns: "entry" } ] ]就好了module.exports = {presets: [ [ "@vue/app", { useBuiltIns: "entry" } ] ],plugins: [["import",{
·
1.在网上查了一番,是core-js版本太高导致的
2.这里在babel.config.js文件里面加上presets: [ [ "@vue/app", { useBuiltIns: "entry" } ] ]就好了
module.exports = {
presets: [ [ "@vue/app", { useBuiltIns: "entry" } ] ],
plugins: [
[
"import",
{ libraryName: "ant-design-vue", libraryDirectory: "es", style: true }
]
]
}
参考文章:解决 These dependencies were not found: * core-js/modules/es6.array.fill in xxx 之类的问题_张小浪的博客-CSDN博客
更多推荐
已为社区贡献1条内容
所有评论(0)