@@ -29,15 +29,16 @@ module.exports = {
29
29
// explicitly transpile a dependency with this option.
30
30
transpileDependencies: [/* string or regex */ ],
31
31
32
+ // whether to preserve whitespaces between elements during template
33
+ // compilation. Defaults to false for smaller compiled code size and
34
+ // performance.
35
+ preserveWhitepsace: false ,
36
+
32
37
// tweak internal webpack configuration.
33
38
// see https://github.com/vuejs/vue-cli/blob/dev/docs/webpack.md
34
39
chainWebpack : () => {},
35
40
configureWebpack : () => {},
36
41
37
- // vue-loader options
38
- // https://vue-loader.vuejs.org/en/options.html
39
- vueLoader: {},
40
-
41
42
// generate sourceMap for production build?
42
43
productionSourceMap: true ,
43
44
@@ -47,16 +48,16 @@ module.exports = {
47
48
// can also be an object of options to pass to extract-text-webpack-plugin
48
49
extract: true ,
49
50
51
+ // Enable CSS modules for all css / pre-processor files.
52
+ // This option does not affect *.vue files.
53
+ modules: false ,
54
+
50
55
// enable CSS source maps?
51
56
sourceMap: false ,
52
57
53
58
// pass custom options to pre-processor loaders. e.g. to pass options to
54
59
// sass-loader, use { sass: { ... } }
55
- loaderOptions: {},
56
-
57
- // Enable CSS modules for all css / pre-processor files.
58
- // This option does not affect *.vue files.
59
- modules: false
60
+ loaderOptions: {}
60
61
},
61
62
62
63
// use thread-loader for babel & TS in production build
0 commit comments