0
点赞
收藏
分享

微信扫一扫

Can’t import the named export ‘bypassFilter’ from non EcmaScript module (only default export is avai


🚀作者简介

​主页:水香木鱼的博客

专栏:前端开发

能量:🔋容量已消耗1%,自动充电中…

笺言:用博客记录每一次成长,书写五彩人生。

📒技术聊斋

(一)Can’t import the named export ‘bypassFilter’ from non EcmaScript module (only default export is avai

(二)解决方式

​在vue.config.js里面配置如下:​

configureWebpack: {
module:{
rules:[{
test:/\.mjs$/,
include: /node_modules/,
type: "javascript/auto"
}]
},
}

木鱼谢语:感谢各位技术大牛们的点赞👍收藏🌟,每一期都会为大家带来快速适用于业务的文章,让大家做到cv即可。


举报

相关推荐

0 条评论