Skip to content
New issue

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

import/extensions规则需要调整 #46

Open
otakustay opened this issue Jun 29, 2017 · 1 comment
Open

import/extensions规则需要调整 #46

otakustay opened this issue Jun 29, 2017 · 1 comment

Comments

@otakustay
Copy link
Member

现在禁掉了所有的后缀,这导致import 'foo.less'等非js的资源会报错,不应该如此

需要修改配置,允许除js、jsx、es以外的模块写后缀

@chriswong
Copy link
Member

[2, "always", {js: "never", jsx: "never", es: "never"}] 这样?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants