Skip to content

Commit 6727a98

Browse files
authored
Merge pull request #18 from stereobooster/14-add-sass-suport
#14 Add .sass support
2 parents c09c146 + 826362d commit 6727a98

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/react-scripts/config/customizers.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ module.exports = {
1717
toArray: 'loaders',
1818
getDev: function () {
1919
return {
20-
test: /\.scss$/,
20+
test: /(\.scss|\.sass)$/,
2121
loader: "style!css!postcss!sass"
2222
}
2323
},
2424
getProd: function () {
2525
return {
26-
test: /\.scss$/,
26+
test: /(\.scss|\.sass)$/,
2727
loader: ExtractTextPlugin.extract('style', 'css!postcss!sass')
2828
}
2929
}
@@ -49,4 +49,4 @@ module.exports = {
4949
prod: 'style!css?modules&-autoprefixer&importLoaders=1!postcss'
5050
}
5151
}
52-
}
52+
}

0 commit comments

Comments
 (0)