Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Fix: CSS should be minified. Closes #7.
Browse files Browse the repository at this point in the history
  • Loading branch information
Reinmar committed May 3, 2017
1 parent 131cbe7 commit ae2da32
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
11 changes: 10 additions & 1 deletion webpack.compat.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
]
}
]
}
Expand Down
11 changes: 10 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
]
}
]
}
Expand Down

0 comments on commit ae2da32

Please sign in to comment.