diff --git a/webpack.config.ts b/webpack.config.ts index 6f258000..0ffc9f6c 100644 --- a/webpack.config.ts +++ b/webpack.config.ts @@ -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' }, ],