File tree Expand file tree Collapse file tree 3 files changed +6
-15
lines changed
packages/@vue/cli-service/lib Expand file tree Collapse file tree 3 files changed +6
-15
lines changed Original file line number Diff line number Diff line change @@ -29,11 +29,6 @@ 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
-
37
32
// generate sourceMap for production build?
38
33
productionSourceMap: true ,
39
34
@@ -48,16 +43,16 @@ module.exports = {
48
43
// can also be an object of options to pass to extract-text-webpack-plugin
49
44
extract: true ,
50
45
51
- // Enable CSS modules for all css / pre-processor files.
52
- // This option does not affect *.vue files.
53
- modules: false ,
54
-
55
46
// enable CSS source maps?
56
47
sourceMap: false ,
57
48
58
49
// pass custom options to pre-processor loaders. e.g. to pass options to
59
50
// sass-loader, use { sass: { ... } }
60
- loaderOptions: {}
51
+ loaderOptions: {},
52
+
53
+ // Enable CSS modules for all css / pre-processor files.
54
+ // This option does not affect *.vue files.
55
+ modules: false
61
56
},
62
57
63
58
// use thread-loader for babel & TS in production build
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ module.exports = (api, options) => {
48
48
. loader ( 'vue-loader' )
49
49
. options ( {
50
50
compilerOpitons : {
51
- preserveWhitespace : options . preserveWhitespace
51
+ preserveWhitespace : false
52
52
}
53
53
} )
54
54
Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ const schema = createSchema(joi => joi.object({
5
5
outputDir : joi . string ( ) ,
6
6
compiler : joi . boolean ( ) ,
7
7
transpileDependencies : joi . array ( ) ,
8
- preserveWhitespace : joi . boolean ( ) ,
9
8
productionSourceMap : joi . boolean ( ) ,
10
9
parallel : joi . boolean ( ) ,
11
10
devServer : joi . object ( ) ,
@@ -55,9 +54,6 @@ exports.defaults = () => ({
55
54
// deps to transpile
56
55
transpileDependencies : [ /* string or regex */ ] ,
57
56
58
- // whether to preserve whitespaces between elements
59
- preserveWhitespace : false ,
60
-
61
57
// sourceMap for production build?
62
58
productionSourceMap : true ,
63
59
You can’t perform that action at this time.
0 commit comments