1
0
mirror of https://github.com/nolanlawson/pinafore synced 2024-12-12 18:28:03 +01:00

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' },