Skip to content

webpack3.x 项目同时引入antd mobile2.x 和5.x会报错 #5299

Discussion options

You must be logged in to vote

看下 兼容性 处理

不要把 node_modules 排除在 babel 编译之外

你可以修改下你的 webpack config

例如注释掉 include

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
3 replies
@shilianmalaxiangguo
Comment options

@awmleer
Comment options

@shilianmalaxiangguo
Comment options

Comment options

You must be logged in to vote
3 replies
@shilianmalaxiangguo
Comment options

@miracles1919
Comment options

@shilianmalaxiangguo
Comment options

Answer selected by awmleer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants