File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
packages/@vue/cli-service/lib Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,12 @@ module.exports = (api, options) => {
26
26
. end ( )
27
27
. alias
28
28
. set ( '@' , api . resolve ( 'src' ) )
29
- . set ( 'vue$' , options . compiler ? 'vue/dist/vue.esm.js' : 'vue/dist/vue.runtime.esm.js' )
29
+ . set (
30
+ 'vue$' ,
31
+ options . runtimeCompiler
32
+ ? 'vue/dist/vue.esm.js'
33
+ : 'vue/dist/vue.runtime.esm.js'
34
+ )
30
35
31
36
webpackConfig . resolveLoader
32
37
. set ( 'symlinks' , true )
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ const schema = createSchema(joi => joi.object({
4
4
baseUrl : joi . string ( ) ,
5
5
outputDir : joi . string ( ) ,
6
6
assetsDir : joi . string ( ) ,
7
- compiler : joi . boolean ( ) ,
7
+ runtimeCompiler : joi . boolean ( ) ,
8
8
transpileDependencies : joi . array ( ) ,
9
9
productionSourceMap : joi . boolean ( ) ,
10
10
parallel : joi . boolean ( ) ,
You can’t perform that action at this time.
0 commit comments