-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RFC: externals支持函数 或者 正则表达式 #1747
Comments
external 高级配法还没透露到文档里,可以参考这里加个
|
@PeachScript 我是想只设置样式文件为external,
|
这是什么场景?样式文件没有对应的 external 导出,但使用 rules 配置也能实现,具体可以参考上面文件的下面几行 |
其实就是忽略antd的样式文件不解析打包,只打包对应js代码文件 |
externals不支持函数 或者 正则表达式,原来忽略antd 样式文件的代码无效。
如:https://www.webpackjs.com/configuration/externals/#function
也可用于解决antd样式覆盖问题,希望能够支持,谢谢!
The text was updated successfully, but these errors were encountered: