Skip to content

Commit 1b76871

Browse files
committed
Make CSS sourcemaps on by default
The problem described shouldn't even matter since it's a prob of style-loader, and we use vue-style-loader which had this fixed a long time ago
1 parent 77f818f commit 1b76871

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

template/config/index.js

+1-6
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,7 @@ module.exports = {
4141
// https://vue-loader.vuejs.org/en/options.html#cachebusting
4242
cacheBusting: true,
4343

44-
// CSS Sourcemaps off by default because relative paths are "buggy"
45-
// with this option, according to the CSS-Loader README
46-
// (https://github.com/webpack/css-loader#sourcemaps)
47-
// In our experience, they generally work as expected,
48-
// just be aware of this issue when enabling this option.
49-
cssSourceMap: false,
44+
cssSourceMap: true,
5045
},
5146

5247
build: {

0 commit comments

Comments
 (0)