-
Notifications
You must be signed in to change notification settings - Fork 104
Using @import #1
Comments
You can use files with underscore names (_user.scss etc), they wouldn't be compiled. |
Works, thanks! |
Using |
This one is pretty complex issue because brunch compilers need to parse file for |
Just tested this with Brunch 1.1.0 but it still seems not to work? |
yep. I hadn't done it though in sass |
Any ETA? Or any pointers on what I should update? |
sass-brunch needs this function https://github.com/brunch/stylus-brunch/blob/master/src/index.coffee#L26-42 and tests https://github.com/brunch/stylus-brunch/blob/master/test/plugin_test.js#L32. not sure about how |
How do you run the plugin tests? I get the following error after cloning + running
|
try to change |
Hm, I made a start here, but I couldn't get the assets to recompile when I included it in my project: |
@meleyal this is a brunch bug. Just fixed in aeed373236b015db9e44a1cb272e216764146048. |
Hi, sorry to review such an old issue @paulmillr , but is it still necessary to prefix all the sass files except the manifest with an underscore? (if I want to share the variables etc. between all files) Thanks for a great library :-) |
yes |
Alrighty, cheers 👍 |
To share variables/mixins between files with sass you need to use an
@import
. E.g. inapp.scss
you might have:Is there any way to tell Brunch just to include the
app.scss
file (the 'manifest') and let sass handle combining the files?I already tried this in
config.coffee
:The text was updated successfully, but these errors were encountered: