-
Notifications
You must be signed in to change notification settings - Fork 11
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
wxml报错 #1
Labels
Comments
确实是因为不能识别 暂时想到的妥协方案是不处理动态引入(含 |
那就不能压缩文件了是吧 |
我发布了新版,不处理动态引入的资源文件 3ea5c69 ,使 webpack 不报错。 这只是一个妥协的临时解决方案,周末有空会完善一个更好的解决方案。😁 |
压缩问题,可以先用微信开发者工具自带的压缩功能,问题不大 |
OK,非常感谢 |
resolve.alias定义的图片别名也没办法解析码? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
运行webpack报错
ERROR in ./src/pages/detail/detail.wxml
Module not found: Error: Can't resolve '../../icons/{{icons[key]}}.svg' in '……/src/pages/detail'
@ ./src/pages/detail/detail.wxml
跟路径无关,好像是不能识别{{icons[key]}},也不知道是不是此插件造成的,能否帮忙定位一下?
The text was updated successfully, but these errors were encountered: