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