Skip to content

Commit ad78f74

Browse files
author
Patrick Taddey
committed
Include sourcemaps in the default options
1 parent 524af82 commit ad78f74

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/loaders/css-extract.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ module.exports = {
2424
prependLoaders(webpackConfig, loaders) {
2525
if (!webpackConfig.extractCss) {
2626

27-
const options = {};
27+
const options = {
28+
sourceMap: webpackConfig.useSourceMaps,
29+
};
2830

2931
// If the CSS extraction is disabled, use the
3032
// style-loader instead.

0 commit comments

Comments
 (0)