Skip to content

Commit 6f6ee8b

Browse files
committed
README updated
1 parent 0d54dd7 commit 6f6ee8b

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ that simply enables SCSS and ES6 in your Django project.
1111
pip install django-compressor-toolkit
1212
```
1313

14+
```py
15+
// settings.py
16+
17+
INSTALLED_APPS += ('compressor_toolkit',)
18+
```
19+
1420
## Add-ons
1521

1622
### SCSS pre-compiler
@@ -136,13 +142,13 @@ npm install -g browserify babelify babel-preset-es2015
136142

137143
## Django settings
138144

139-
### COMPRESS_NODE_MODULES
145+
### `COMPRESS_NODE_MODULES`
140146

141147
Path to `node_modules` where `browserify`, `babelify`, `autoprefixer`, etc, are installed.
142148

143149
Default: `/usr/lib/node_modules`
144150

145-
### COMPRESS_SCSS_COMPILER_CMD
151+
### `COMPRESS_SCSS_COMPILER_CMD`
146152

147153
Command that will be executed to transform SCSS into CSS code.
148154

@@ -161,13 +167,13 @@ Placeholders:
161167
- `{node_modules}` - see `COMPRESS_NODE_MODULES` setting
162168
- `{autoprefixer_browsers}` - see `COMPRESS_AUTOPREFIXER_BROWSERS` setting
163169

164-
### COMPRESS_AUTOPREFIXER_BROWSERS
170+
### `COMPRESS_AUTOPREFIXER_BROWSERS`
165171

166172
Browser versions config for Autoprefixer.
167173

168174
Default: `ie >= 9, > 5%`
169175

170-
### COMPRESS_ES6_COMPILER_CMD
176+
### `COMPRESS_ES6_COMPILER_CMD`
171177

172178
Command that will be executed to transform ES6 into ES5 code.
173179

0 commit comments

Comments
 (0)