We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
由于开发组件需要按需antd组件样式,所以使用antd组件的时候使用了 antd/es/xx/style 这种模式 使用dumi打包文档的时候,报错了
antd/es/xx/style
.umirc.js中配置了
.umirc.js
extraBabelPlugins: [ [ 'import', { libraryName: 'antd', libraryDirectory: 'es', style: true, }, 'antd', ], ],
dumi 1.1.39
The text was updated successfully, but these errors were encountered:
发现是 babel配置影响的... 😢 Compiles in dev, fails in prod: TypeError: $ is not a function
Sorry, something went wrong.
No branches or pull requests
Question
由于开发组件需要按需antd组件样式,所以使用antd组件的时候使用了
antd/es/xx/style
这种模式使用dumi打包文档的时候,报错了
Sample Code
.umirc.js
中配置了dumi 1.1.39
The text was updated successfully, but these errors were encountered: