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

使用global scss 后,生成文件丢失样式文件 #4144

Closed
nyrf opened this issue Aug 12, 2019 · 1 comment
Closed

使用global scss 后,生成文件丢失样式文件 #4144

nyrf opened this issue Aug 12, 2019 · 1 comment

Comments

@nyrf
Copy link

nyrf commented Aug 12, 2019

问题描述
使用了global scss后,不管是在dev还是build模式,无法生成wxss 文件,在dev模式下,保存下scss文件,就会生成wxss,但直接build的话不会生成

  sass: {
      resource: path.resolve(__dirname, '..', 'src/styles/variable.scss'),
      projectDirectory: path.resolve(__dirname, '..')
    },

期望行为
生成wxss文件

报错信息
WX20190812-141659@2x

系统信息
❯ taro info
👽 Taro v1.3.11

Taro CLI 1.3.11 environment info:
System:
OS: macOS 10.14.6
Shell: 3.0.2 - /usr/local/bin/fish
Binaries:
Node: 12.6.0 - ~/.config/nvm/12.6.0/bin/node
Yarn: 1.12.1 - /usr/local/bin/yarn
npm: 6.9.0 - ~/.config/nvm/12.6.0/bin/npm

@taro-bot
Copy link

taro-bot bot commented Aug 12, 2019

欢迎提交 Issue~

如果你提交的是 bug 报告,请务必遵循 Issue 模板的规范,尽量用简洁的语言描述你的问题,最好能提供一个稳定简单的复现。🙏🙏🙏

如果你的信息提供过于模糊或不足,或者已经其他 issue 已经存在相关内容,你的 issue 有可能会被关闭。

Good luck and happy coding~

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

1 participant