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

[Build] Slow Performance of Gulp-Concat-CSS #1464

Closed
jenil opened this issue Dec 17, 2014 · 1 comment
Closed

[Build] Slow Performance of Gulp-Concat-CSS #1464

jenil opened this issue Dec 17, 2014 · 1 comment

Comments

@jenil
Copy link

jenil commented Dec 17, 2014

Hey,

I was customizing Semantic and started getting a bit restless coz of the amount of time the gulp build command takes. After doing a bit of debugging I found that the gulp-concat-css plugin is what takes a lot of time (in my case around 15-20s on a MBP Retina running Yosemite). When I used the gulp-concat plugin instead the time it took was just about 700-800ms. Any specific reason for using gulp-concat-css?

@jlukic
Copy link
Member

jlukic commented Dec 17, 2014

The only feature we need from gulp-concat-css that is not in gulp-concat that our project requires is moving @import rules to the top of files.

This makes sure google font imports are always at the top of concatenated files.
https://github.com/mariocasciaro/gulp-concat-css/blob/master/index.js#L51

Any suggestions on another way to accomplish this are most welcome.

I usually build from component css in staging environments, so I can see exactly where CSS/JS is breaking. But I understand that can't always be the case.

@jlukic jlukic changed the title Using gulp-concat instead of gulp-concat-css [Build] Slow Performance of Gulp-Concat-CSS Dec 17, 2014
@jlukic jlukic closed this as completed Jul 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants