-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
编译配置 sassLoaderOption 导致所有小程序平台编译报错 #8257
Milestone
Comments
taro-bot2
bot
added
F-vue3
Framework - Vue 3
T-weapp
Target - 编译到微信小程序
V-3
Version - 3.x
labels
Dec 12, 2020
遇到同样的问题~ |
3.2.6 修复 |
Chen-jj
added a commit
that referenced
this issue
Apr 23, 2021
11 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
相关平台
所有小程序平台
复现仓库
https://github.com/b2nil/taro-ui-vue3-demo
小程序基础库: 2.14.0
使用框架: Vue 3
复现步骤
config/index.js
中配置sassLoaderOption
:yarn build:weapp
或其他任何小程序平台的编译命令期望结果
小程序平台编译成功
实际结果
小程序编译失败,报以下错误:
环境信息
补充信息
在编译配置的
mini
或h5
字段下配置sassLoaderOption
,小程序平台均会编译失败,但 h5 平台可以编译成功。不配置
sassLoaderOption
,小程序平台则可编译成功。这个问题最坑的是,
h5
平台的配置,影响了小程序平台的编译,花了好长时间才排查到是这个配置导致的问题,/(ㄒoㄒ)/~~。The text was updated successfully, but these errors were encountered: