原生 mina plugin 路径别名支持 #336
sonofmagic
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
你想要的结果,实际是,.json 也加入 webpack 的 asset 里面,然后根据 alias 的配置,把
@/xxx
,~/xxx
这种前置的 path 给解析(resolve) 一下,输出成指定的相对格式。这个到时候有进展,我会更新我的 demo 和这个 issue 的
Originally posted by @sonofmagic in #116 (comment)
Beta Was this translation helpful? Give feedback.
All reactions