include style-loader

This commit is contained in:
Roman Hotsiy 2017-11-20 01:00:08 +02:00
parent 64471c649a
commit f0f1e4805b
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0

View File

@ -82,11 +82,16 @@ export default env => {
},
{
test: /\.css$/,
loader: 'css-loader',
options: {
sourceMap: true,
minimize: true,
},
use: [
'style-loader',
{
loader: 'css-loader',
options: {
sourceMap: true,
minimize: true,
},
},
],
},
{ enforce: 'pre', test: /\.js$/, loader: 'source-map-loader' },
],