Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

window下所有的路径编译后有问题 #21

Closed
ldwonday opened this issue Mar 5, 2018 · 3 comments
Closed

window下所有的路径编译后有问题 #21

ldwonday opened this issue Mar 5, 2018 · 3 comments

Comments

@ldwonday
Copy link

ldwonday commented Mar 5, 2018

如题,在window下路径都编译成了..\..\,导致图片,模版等运行不了,应该不是反斜杠。

@ldwonday
Copy link
Author

ldwonday commented Mar 5, 2018

我试过很多方法都不行,这是别人给file-loader提的issue,webpack-contrib/file-loader#256

@Cap32
Copy link
Member

Cap32 commented Mar 6, 2018

升级 wxml-loader >= v0.2.1 修复了这个问题,已发布至 npm

十分感谢 👍🏿

@Cap32 Cap32 closed this as completed Mar 6, 2018
@leamiko
Copy link

leamiko commented Mar 6, 2018

nice

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants