arco-design / arco-plugins

Webpack / Vite plugins for Arco Design
https://arco.design
MIT License
68 stars 41 forks source link

fix:error occurs without babel-loader #41

Closed jinghm318 closed 1 year ago

jinghm318 commented 1 year ago

Types of changes

Background and context

某些场景下,include 中的一些文件没有配置 Babel-loader,会导致编译错误。例如,arco组件库被引用在第三方组件库中,而第三方组件库可能默认没有babel-loader。

Solution

判断babel-loader是否已经配置了

How is the change tested?

Changelog

Changelog(CN) Changelog(EN) Related issues

Checklist:

Other information