Package required sass gem.
$ gem install sass
# or check http://sass-lang.com/install
$ meteor add ovcharik:ruby-sass
Add a ruby-sass.json file to root directory of project.
type: string
Path to main file. Required unless specified files.
type: object
Format:
'files': {
'main file': 'dependencies', // can be pattern, like 'scss/home/**/*.scss'
// or
'main file': ['array', 'of', 'dependencies']
}
type: boolean, default: false
Use Unix-style newlines in written files.
type: boolean, default: false
Use the CSS-superset SCSS syntax.
type: string, default: nested
Output style. Can be nested, compact, compressed, or expanded.
type: number, default: 5
How many digits of precision to use when outputting decimal numbers.
type: boolean, default: false
Make Compass imports available and load project configuration.
type: boolean, default: false
Emit comments in the generated CSS indicating the corresponding source line.
type: string
Add a sass import path.
type: string
Require a Ruby library before running Sass.
type: string
The path to put cached Sass files. Defaults to .sass-cache
type: boolean, default: false
Don't cache to sassc files.
type: string
Specify the default encoding for Sass files.
{
"file": "path/to/main/sass/file.scss"
}
{
"files": {
"styles/application.scss": ["styles/**/*.scss", "include/variabled.css"],
"vendor/bootstrap/bootstrap.scss": "vendor/bootstrap/**/*.scss"
}
}