Created
March 27, 2016 12:26
-
-
Save natac13/8fa9bc2cc5c90db9b397 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// client bundle without prerendering | |
{ | |
test: /\.scss$/, | |
loader: 'style!css?module&localIdentName=[name]__[local]___[hash:base64:5]!sass', | |
include: appPath | |
} | |
// client bundle with prerendering or optimized with separate css | |
{ | |
test: /\.scss$/, | |
loader: ExtractTextPlugin.extract('style', 'css?module&localIdentName=[name]__[local]___[hash:base64:5]!sass'), | |
include: appPath | |
} | |
// server bundle for prerendering | |
{ | |
test: /\.scss$/, | |
loader: 'css/locals?module&localIdentName=[name]__[local]___[hash:base64:5]!sass', | |
include: appPath | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment