umi4引入其他库的样式怎么写呢
#12304
Replies: 1 comment
-
感觉不是这个插件带来的问题吧,你有最小报错的复现吗。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
const extraBabelPlugins = [
[
'babel-plugin-import',
{
libraryName: '@turing-design/react-components',
libraryDirectory: 'es',
style: true,
},
],
];
umi3里面是这样写的,升级到umi4之后就有报错
TypeError: Cannot read properties of undefined (reading 'dispose')
Beta Was this translation helpful? Give feedback.
All reactions