Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use SASS with Polymer?

I'm trying to use SASS with Polymer but I don't know how to have multiple outputs.

I'd like sass to compile each scss files in their own directory, I don't need a global css output...

Is there a solution to this issue ? Thanks

like image 319
Thibaut Maurice Avatar asked Jul 22 '14 09:07

Thibaut Maurice


1 Answers

Just use:

scss --watch ROOT_FOLDER:ROOT_FOLDER

example:

neciu$ mkdir dir1
neciu$ mkdir dir2
neciu$ touch dir1/1.scss
neciu$ touch dir2/2.scss
neciu$ scss --watch .:.
>>> Sass is watching for changes. Press Ctrl-C to stop.
  write ./dir1/1.css
  write ./dir2/2.css
like image 186
neciu Avatar answered Sep 28 '22 12:09

neciu