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

package.json 添加 "type": "module"报错 #2

Open
276259822 opened this issue Feb 25, 2022 · 0 comments
Open

package.json 添加 "type": "module"报错 #2

276259822 opened this issue Feb 25, 2022 · 0 comments

Comments

@276259822
Copy link

failed to load config from xxx/vite.config.ts
error during build:
Error [ERR_UNSUPPORTED_DIR_IMPORT]: Directory import 'xxx/node_modules/visual-dev/plugins/vite' is not supported resolving ES modules imported from xxx/vite.config.ts.js
Did you mean to import visual-dev/plugins/vite/index.js?

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