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

Causing svg/json "import/extensions" error with v8.0.0 #23

Closed
horans opened this issue Jul 25, 2022 · 0 comments
Closed

Causing svg/json "import/extensions" error with v8.0.0 #23

horans opened this issue Jul 25, 2022 · 0 comments

Comments

@horans
Copy link

horans commented Jul 25, 2022

Great work for v8 resolving all the dependency issues, however this had leaded to another issue, that all the imported svg/json files now reported as errors.

error Unexpected use of file extension "svg" for "@/assets/icon/refresh.svg" import/extensions
error Unexpected use of file extension "json" for "./locale/en-US.json" import/extensions

I have to fallback to v7 to make it work again.

BTW, adding @rushstack/eslint-patch is not helping either.

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

1 participant