能否配置关闭自动转换绝对路径为相对路径 #761
Replies: 1 comment
-
esm 增加 alias 配置解决 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
.father.js
打包过后配置的
@/locale/language
会被编译成../../../locale/language
原文件:
打包后:
由于内部使用插件并未发布,项目中使用会放到
src/core/
目录下手动替换@/locale/
为@/src/core/locale/
之前用
umi-library
打包是没有替换绝对路径的,升级为father
后会自动替换绝对路径为相对路径Beta Was this translation helpful? Give feedback.
All reactions