简体   繁体   中英

how to skip SASS compilation in Ember Broccoli build

I'm compiling an Ember.js app using broccoli and currently I'm working only on the JavaScript files. The SASS stylesheet files are not being changed at all, yet our Broccoli build is always building new CSS out of those stylesheets.

How do I turn this off?

How can I make Broccoli only build JavaScript files or only build SASS files? It's really slowing down my compile times when I change a JS file but a SASS file is compiled.

I'm using ember-cli 0.2.5

将 ember-cli 更新到最新版本,如果您不更改/触摸 sass 文件 ember-cli 不对 sass 文件进行任何处理/计算,如果您根本不使用 sass,则完全关闭 sass 处理,然后删除sass插件可能从package.json命名为ember-cli-sass并运行npm prune

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM