-
Notifications
You must be signed in to change notification settings - Fork 5
Create task for automated main.scss build from scss directory structure #126
Comments
Hi Mike, |
Roger that |
The problem might be that if you want to set order of imported stylesheets then writing that order somewhere can end in the same amount of work like writing them directly to main.scss, not mentioning increased setup complexity. Maybe prefixing stylesheets with numbers? 10_fonts.scss |
@piotrkulpinski, @luboskmetko: After thinking it through, I see adding any kind of order prefixes, posftixes, markers, etc. in source files as pointless and bringing you more harm than good. The main idea behind creating this task is to avoid writing Also worth mentioning -- I'm not going to build whole
If you'd like to change the order of directories/files, just go to |
Sounds good, Michal. |
Hi Michał, |
Hi Piotrek, |
No worries :) Moving it to v0.7 |
I think the best option to proceed with this would be to add a css globbing plugin to allow to put something like I'm already using such solution in my similar gulp generator and it's working pretty well so far: https://github.com/piotrkulpinski/generator-limelight/blob/master/app/templates/src/sass/main.scss |
You've got the point. This solution is much simpler, makes Something important to note is that |
I did a quick check and https://github.com/DennisBecker/grunt-sass-globbing is not working as good as the gulp version so I wouldn't opt for using it for now. |
Unfortunately the grunt plugin doesn't work as perfectly as gulp one and it can't be used in our generator so we'll have to think of another solution or close it for now and wait until we move to gulp (some day ;)). |
No description provided.
The text was updated successfully, but these errors were encountered: