Skip to content

Commit 826362d

Browse files
committed
facebook#14 Add .sass support
1 parent 170b4ba commit 826362d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/react-scripts/config/customizers.js

Lines changed: 3 additions & 3 deletions
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)