老师关于babel loader的疑问
来源:10-13 happyPack是什么

weixin_慕丝2377090
2021-11-25
1: 在项目中,是通过babel.config.js来配置Babel的,这个babel的配置表,和在Webpack配置表中配置babel loader区别是什么啊?
2: 能不能在babel.config.js中配置babel loader呢?
这些没有在网上找到答案
写回答
1回答
-
你可以把 babel 的配置写在 babel-loader 中,或者写在 babel.config.js 中。但你不可以在 babel.config.js 中写 babel-loader
工具的配置,都是固定形式的,必须这么做。
012021-11-29
相似问题