@@ -147,7 +147,27 @@ module.exports = function (webpackConfig, isDevelopment) {
147
147
]);
148
148
};
149
149
```
150
- related issues: [ #462 ] [ 462 ] , [ #662 ] [ 662 ] , [ #900 ] [ 900 ]
150
+ related issues: [ #462 ] [ 462 ] , [ #662 ] [ 662 ] , [ #900 ] [ 900 ]
151
+
152
+ ## scss support
153
+ - install ` node-sass ` and ` sass-loader ` :
154
+
155
+ ```
156
+ npm install --save-dev node-sass sass-loader
157
+ ```
158
+
159
+ - edit ` webpack.monkey.js ` like this:
160
+ ``` js
161
+ /* copy addExclude, findLoader, addLoader, getScssLoader, createTextExtractor from snippets */
162
+ module .exports = function (webpackConfig , isDevelopment ) {
163
+ addExclude (webpackConfig, / \. scss$ / );
164
+ addLoader (webpackConfig, getScssLoader (isDevelopment));
165
+ };
166
+ ```
167
+ similar code for less or stylus.
168
+
169
+ related issues: [ #78 ] [ 78 ] , [ #115 ] [ 115 ] , [ #351 ] [ 351 ] , [ #412 ] [ 412 ] , [ #1509 ] [ 1509 ] , [ #1639 ] [ 1639 ]
170
+
151
171
## TODOs
152
172
- [ ] <del >add helpers</del > snippets
153
173
- [x] addPlugin
@@ -181,3 +201,10 @@ related issues: [#462][462], [#662][662], [#900][900]
181
201
[ 462 ] : https://github.com/facebookincubator/create-react-app/issues/462
182
202
[ 662 ] : https://github.com/facebookincubator/create-react-app/pull/662
183
203
[ 900 ] : https://github.com/facebookincubator/create-react-app/issues/900
204
+
205
+ [ 78 ] : https://github.com/facebookincubator/create-react-app/issues/78
206
+ [ 115 ] : https://github.com/facebookincubator/create-react-app/pull/115
207
+ [ 351 ] : https://github.com/facebookincubator/create-react-app/issues/351
208
+ [ 412 ] : https://github.com/facebookincubator/create-react-app/pull/412
209
+ [ 1509 ] : https://github.com/facebookincubator/create-react-app/pull/1509
210
+ [ 1639 ] : https://github.com/facebookincubator/create-react-app/issues/1639
0 commit comments