-
Notifications
You must be signed in to change notification settings - Fork 32
/
Stylus.sublime-settings
74 lines (58 loc) · 1.99 KB
/
Stylus.sublime-settings
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{
/*
The directories you would like to include in $PATH environment variable.
Use this if your node installation is at a seperate location and getting errors such as `cannot find node executable`
example:
"envPATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
*/
"envPATH": "",
/*
The directory containing your stylus binary. Usually
/usr/local/bin or /usr/bin.
*/
"binDir": "/usr/local/bin",
/*
## Enable Compiling on save. It will compile into the same folder.
*/
"compileOnSave": false,
/*
## Enable compiling to a specific directory.
#### Description
if it is a string like 'some/directory' then `-o some/directory` will be added to `stylus` compiler.
if it is false or not string then it will compile your `style.stylus` to the directory it is in.
#### Example:
Directory is relative to the file you are editing if specified such as
compileDir": "out"
Directory is absolute if specified such as
compileDir": "/home/logan/Desktop/out"
*/
"compileDir": false,
/*
Enable css compression
*/
"compress": false,
/*
Enable autoprefixer
See https://www.npmjs.com/package/autoprefixer-stylus
*/
"useAutoPrefixer": false,
/*
## Enable compiling to a specific relative directories.
#### Example:
Set absolute path for compile dir:
"compileDir": "/home/user/projects/css"
And specified folders
"relativeDir": "/home/user/projects/stylus"
"compilePaths":
{
"/home/user/projects/stylus": "/home/user/projects/first/css",
"/home/user/projects/second/stylus": "../css",
}
So
"/home/user/projects/stylus/app.stylus" will compile to "/home/user/projects/first/css/app.css"
"/home/user/projects/stylus/models/prod.stylus" will compile to "/home/user/projects/first/css/models/prod.css"
"/home/user/projects/stylus/second/stylus/app2.stylus" will compile to "/home/user/projects/second/css/app2.css"
"/home/user/projects/main.stylus" will compile to "/home/user/projects/css/main.css"
*/
"compilePaths": false
}