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
参看 ant-design/ant-design-pro#542 升级到2.0之后,使用.webpackrc.js的形式编写roadhog配置,并使用ES6的语法来 export default {}
执行roadhog dev应正常运行
报错 Unexpected token export,如换成module.exports可正常运行,但在webpack.config.js中也会报错无法识别import/export等ES6语法。之前1.x都是没问题的。项目无额外babel配置文件,也执行过yarn upgrade清理并重新安装了所有其它依赖库。
The text was updated successfully, but these errors were encountered:
066c813
No branches or pull requests
Environment(required) | 环境(必填)
What did you do? Please provide steps to re-produce your problem.(请提供复现步骤)
参看 ant-design/ant-design-pro#542 升级到2.0之后,使用.webpackrc.js的形式编写roadhog配置,并使用ES6的语法来 export default {}
What do you expected?(预期的正常效果)
执行roadhog dev应正常运行
What happen?(发生了何种非正常现象)
报错 Unexpected token export,如换成module.exports可正常运行,但在webpack.config.js中也会报错无法识别import/export等ES6语法。之前1.x都是没问题的。项目无额外babel配置文件,也执行过yarn upgrade清理并重新安装了所有其它依赖库。
The text was updated successfully, but these errors were encountered: