Permalink
Browse files

Fix: CSS should be minified. Closes #7.

  • Loading branch information...
Reinmar committed May 3, 2017
1 parent 131cbe7 commit ae2da32ad6184c80c862a073c423461f8a365828
Showing with 20 additions and 2 deletions.
  1. +10 −1 webpack.compat.config.js
  2. +10 −1 webpack.config.js
@@ -66,7 +66,16 @@ module.exports = {
},
{
test: /\.scss$/,
use: [ 'style-loader', 'css-loader', 'sass-loader' ]
use: [
'style-loader',
{
loader: 'css-loader',
options: {
minimize: true
}
},
'sass-loader'
]
}
]
}
@@ -40,7 +40,16 @@ module.exports = {
},
{
test: /\.scss$/,
use: [ 'style-loader', 'css-loader', 'sass-loader' ]
use: [
'style-loader',
{
loader: 'css-loader',
options: {
minimize: true
}
},
'sass-loader'
]
}
]
}

0 comments on commit ae2da32

Please sign in to comment.