simplify webpack config (#124)

This commit is contained in:
Nolan Lawson 2018-04-14 18:20:21 -07:00 committed by GitHub
parent 283bc78b4f
commit 6169b53643
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,14 +28,7 @@ module.exports = {
} }
} }
}, },
isDev && { {
test: /\.css$/,
use: [
{ loader: 'style-loader' },
{ loader: 'css-loader' }
]
},
!isDev && {
test: /\.css$/, test: /\.css$/,
use: [ use: [
{ loader: 'style-loader' }, { loader: 'style-loader' },