[英]Meteor babel config
In babel config file "babel.json", I want to exclude/ignore specific files 在babel配置文件“ babel.json”中,我要排除/忽略特定文件
I found this solution but this ignore all other js files. 我找到了这个解决方案,但是忽略了所有其他js文件。
{
"extensions": ["es6.js"]
}
Try: 尝试:
{
"extensions": ["es6.js", "es6"]
}
Otherwise you might want to try find another package to handle what you're working with because the grigio/meteor-babel
package is depreciated. 否则,由于
grigio/meteor-babel
软件包已贬值,因此您可能想尝试查找其他软件包来处理正在使用的软件包。
If you want to ignore a specific JS File you could just comment out the the whole file as a quick fix. 如果您想忽略特定的JS文件,则可以将整个文件注释掉,作为快速解决方案。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.