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

Posted 水香木鱼

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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"
           ]
       ,
 

📓精品推荐

🔋前端开发node.js、vue安装环境【安装node版本管理工具-nvm,耗时一天时间踩坑总结】

🔋Google Chrome73~81版本浏览器的跨域问题解决方案

🔋在windows server 2012 服务器上如何部署nginx服务?

🔋如何把一个web应用部署到nginx轻量服务器上

🔋搭建nginx 服务器,nginx.conf文件配置【windows server 2012】


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

以上是关于Can’t import the named export ‘bypassFilter’ from non EcmaScript module (only default export is avai的主要内容,如果未能解决你的问题,请参考以下文章