visual-dev
visual-dev copied to clipboard
package.json 添加 "type": "module"报错
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?