This repository has been archived by the owner on Jun 15, 2023. It is now read-only.
Replies: 1 comment
-
I find a way to use my scss and autoprefixer, I had to use this version in my package.json |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to use brunch for a new project, and I after spending multiple hours to set up just a minimal config I'm close to give up :(.
I'm just trying to compile some file (js + css) written in scss and use autoprefixer on it.
I'm probably making an obviously mistake but I can't find where. So any help is welcome :)
Actual behavior
I encounter multiple problems but there 2 of them that are necessary for me:
1- I can't use the advanded joinTo where you specify what need to be watched:
I've try
joinTo: { 'styles/main.css': /^styles*/}
joinTo: { 'styles/main.css': "styles/*.css"}
joinTo: { 'styles/main.css': "**/*.css"}
joinTo: { 'styles/main.css': "*.css"}
But I always get this feedback `"compiled, but not written. Check your javascripts.joinTo config"``
The only way I found is to use the basic one without specify the files to watch (not what I wanted :/)
2 - I failing using sass + autoprefixer
I first seen that .scss file aren't handled so I had postcss plugin with the
postcss-scss
parser but nothing changer still no css compiled. Just for testing purpose I renamed my file in .css and everything compiled just nice with autoprefixer working tooSo I installed
sass-brunch
and my .scss were handled so I get my css compiled, but this time this is autoprefixer that was not running.Environment
package.json
contentsbrunch config contents
Beta Was this translation helpful? Give feedback.
All reactions