UNPKG

1.88 kBMarkdownView Raw
1# Options
2
3
4## sourcemap
5
6Type: `Boolean`
7Default: `false`
8
9Enable Source Maps.
10
11**Requires Sass 3.3.0, which can be installed with `gem install sass --pre`**
12
13
14## trace
15
16Type: `Boolean`
17Default: `false`
18
19Show a full traceback on error.
20
21
22## unixNewlines
23
24Type: `Boolean`
25Default: `false` on Windows, otherwise `true`
26
27Force Unix newlines in written files.
28
29
30## check
31
32Type: `Boolean`
33Default: `false`
34
35Just check syntax, don't evaluate.
36
37
38## style
39
40Type: `String`
41Default: `nested`
42
43Output style. Can be `nested`, `compact`, `compressed`, `expanded`.
44
45
46## precision
47
48Type: `Number`
49Default: `3`
50
51How many digits of precision to use when outputting decimal numbers.
52
53
54## quiet
55
56Type: `Boolean`
57Default: `false`
58
59Silence warnings and status messages during compilation.
60
61
62## compass
63
64Type: `Boolean`
65Default: `false`
66
67Make Compass imports available and load project configuration (`config.rb` located close to the `Gruntfile.js`).
68
69
70## debugInfo
71
72Type: `Boolean`
73Default: `false`
74
75Emit extra information in the generated CSS that can be used by the FireSass Firebug plugin.
76
77
78## lineNumbers
79
80Type: `Boolean`
81Default: `false`
82
83Emit comments in the generated CSS indicating the corresponding source line.
84
85
86## loadPath
87
88Type: `String|Array`
89
90Add a (or multiple) Sass import path.
91
92
93## require
94
95Type: `String|Array`
96
97Require a (or multiple) Ruby library before running Sass.
98
99
100## cacheLocation
101
102Type: `String`
103Default: `.sass-cache`
104
105The path to put cached Sass files.
106
107
108## noCache
109
110Type: `Boolean`
111Default: `false`
112
113Don't cache to sassc files.
114
115
116## bundleExec
117
118Type: `Boolean`
119Default: `false`
120
121Run `sass` with [bundle exec](http://gembundler.com/man/bundle-exec.1.html): `bundle exec sass`.
122
123
124## banner
125
126Type: `String`
127
128Prepend the specified string to the output file. Useful for licensing information.
129
130*Can't be used if you use the `sourcemap` option.*