mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-28 12:37:32 +00:00
Minimize CSS in production builds (all templates)
This commit is contained in:
committed by
Steve Sanderson
parent
c0205cfc4e
commit
ea429cccf4
@@ -11,7 +11,7 @@ module.exports = {
|
||||
module: {
|
||||
loaders: [
|
||||
{ test: /\.(png|woff|woff2|eot|ttf|svg)(\?|$)/, loader: 'url-loader?limit=100000' },
|
||||
{ test: /\.css(\?|$)/, loader: extractCSS.extract(['css-loader']) }
|
||||
{ test: /\.css(\?|$)/, loader: extractCSS.extract([ isDevBuild ? 'css-loader' : 'css-loader?minimize' ]) }
|
||||
]
|
||||
},
|
||||
entry: {
|
||||
|
||||
Reference in New Issue
Block a user