You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
leelynnjaytop
changed the title
[Bug] polyfill.ts 自动生成时未正确处理 Windows 路径中的单引号导致语法错误
[Bug] .umi/core/helmet.ts 自动生成时未正确处理 Windows 路径中的单引号导致语法错误
Feb 21, 2025
What happens?
当项目路径包含单引号 ' 时(例如 C:/Users/Jeri'o/...),Umi 自动生成的 polyfill.ts 文件中的导入路径字符串会因未转义单引号导致语法错误,具体报错如下:
How To Reproduce
C:/Users/Jeri'o/project
)pnpm create umi
初始化项目pnpm install
和pnpm dev
Context
可能的解决方案建议
The text was updated successfully, but these errors were encountered: