使用Vite5,配置兼容Ant3的Less变量时,报SyntaxError: Cannot use import statement outside a module
错误
#7630
Closed
1 task done
Labels
Version
4.2.1
Environment
macOS Sonoma 14.4.1; Chrome 125.0.6422.141; Vue 3.4.21;node v18.20.2
Reproduction link
https://github.com/ipcjs/ant4-vite5-less-modify-vars-incompatible
Steps to reproduce
What is expected?
正常启动开发服务
What is actually happening?
The text was updated successfully, but these errors were encountered: