10:06:31 AM [vite] Internal server error: [vite] Named export 'SearchOutlined' not found. The requested module '@ant-design/icons' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:
import pkg from '@ant-design/icons';
const {PlusOutlined, SearchOutlined} = pkg;
Vite 仍然识别为 commonjs 模块
环境信息
相关 Issues
ref #477 duplicate #605