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
参考: eslint-import-resolver-webpack don't work for resolved paths #352
简单来说eslint -> eslint-plugin-import -> eslint-import-resolver-webpack在解析webpack.config.js时只支持es5语法。 Rest/Spread Properties不属于es5/es2015/es2016/es2017,而是一个尚在提案中的特性。
解决方案: 使用webpack.config.babel.js作为webpack配置文件,这样在读取配置文件的时候,会先被babel转译。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
参考: eslint-import-resolver-webpack don't work for resolved paths #352
简单来说eslint -> eslint-plugin-import -> eslint-import-resolver-webpack在解析webpack.config.js时只支持es5语法。
Rest/Spread Properties不属于es5/es2015/es2016/es2017,而是一个尚在提案中的特性。
解决方案:
使用webpack.config.babel.js作为webpack配置文件,这样在读取配置文件的时候,会先被babel转译。
The text was updated successfully, but these errors were encountered: