diff options
Diffstat (limited to 'client/config/webpack.common.js')
-rw-r--r-- | client/config/webpack.common.js | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/client/config/webpack.common.js b/client/config/webpack.common.js index 88a3639d2..882013a9e 100644 --- a/client/config/webpack.common.js +++ b/client/config/webpack.common.js | |||
@@ -142,15 +142,11 @@ module.exports = function (options) { | |||
142 | }, | 142 | }, |
143 | 143 | ||
144 | { | 144 | { |
145 | test: /\.scss$/, | 145 | test: /\.(sass|scss)$/, |
146 | exclude: /node_modules/, | 146 | loaders: ['css-to-string-loader', 'css-loader?sourceMap', 'resolve-url', 'sass-loader?sourceMap'] |
147 | loaders: [ 'raw-loader', 'sass-loader' ] | ||
148 | }, | ||
149 | |||
150 | { | ||
151 | test: /\.(woff2?|ttf|eot|svg)$/, | ||
152 | loader: 'url?limit=10000&name=assets/fonts/[hash].[ext]' | ||
153 | }, | 147 | }, |
148 | { test: /\.woff(2)?(\?v=[0-9]\.[0-9]\.[0-9])?$/, loader: 'url?limit=10000&minetype=application/font-woff' }, | ||
149 | { test: /\.(ttf|eot|svg)(\?v=[0-9]\.[0-9]\.[0-9])?$/, loader: 'file' }, | ||
154 | 150 | ||
155 | /* Raw loader support for *.html | 151 | /* Raw loader support for *.html |
156 | * Returns file content as string | 152 | * Returns file content as string |