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,12 +82,17 @@ export default env => {
}, },
{ {
test: /\.css$/, test: /\.css$/,
use: [
'style-loader',
{
loader: 'css-loader', loader: 'css-loader',
options: { options: {
sourceMap: true, sourceMap: true,
minimize: true, minimize: true,
}, },
}, },
],
},
{ enforce: 'pre', test: /\.js$/, loader: 'source-map-loader' }, { enforce: 'pre', test: /\.js$/, loader: 'source-map-loader' },
], ],
}, },