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

【enhance】css模块分离 #8

Closed
biaodoit opened this issue Jun 3, 2019 · 3 comments
Closed

【enhance】css模块分离 #8

biaodoit opened this issue Jun 3, 2019 · 3 comments
Labels
enhancement New feature or request

Comments

@biaodoit
Copy link
Contributor

biaodoit commented Jun 3, 2019

@import "./test.scss";

app.scss中通过以上代码引入css时,test.scss更新无法触发css重新编译

@wangjikill
Copy link

确实是,需要退出后,重新编译。watch模式下不能触发编译

@Genuifx Genuifx added the enhancement New feature or request label Jun 3, 2019
@Genuifx
Copy link
Contributor

Genuifx commented Jun 3, 2019

是的,scss文件的依赖由于经过一次 node-sass 编译之后在wxa编译阶段就拿不到相关依赖信息了,后续做一个优化。 PR welcome

Genuifx added a commit that referenced this issue Jul 9, 2019
nowaday, loader can use .dependecy fn to add outer dependencies, while this kind of deps changed,
it's parent module will be compiled

re #8
Genuifx added a commit that referenced this issue Jul 9, 2019
@Genuifx
Copy link
Contributor

Genuifx commented Sep 9, 2019

升级cli到2.1.5 升级项目中的compiler-sass到2.1 即可修复

@Genuifx Genuifx closed this as completed Sep 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants