Skip to content

Commit

Permalink
facebook#14 Add .sass support
Browse files Browse the repository at this point in the history
  • Loading branch information
stereobooster committed Oct 4, 2016
1 parent 170b4ba commit 826362d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/react-scripts/config/customizers.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ module.exports = {
toArray: 'loaders',
getDev: function () {
return {
test: /\.scss$/,
test: /(\.scss|\.sass)$/,
loader: "style!css!postcss!sass"
}
},
getProd: function () {
return {
test: /\.scss$/,
test: /(\.scss|\.sass)$/,
loader: ExtractTextPlugin.extract('style', 'css!postcss!sass')
}
}
Expand All @@ -49,4 +49,4 @@ module.exports = {
prod: 'style!css?modules&-autoprefixer&importLoaders=1!postcss'
}
}
}
}

0 comments on commit 826362d

Please sign in to comment.