Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 6727a98

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

File tree

Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed

‎packages/react-scripts/config/customizers.js

Copy file name to clipboardExpand all lines: packages/react-scripts/config/customizers.js
+3-3Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.