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) => {
2626 . end ( )
2727 . alias
2828 . 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+ )
3035
3136 webpackConfig . resolveLoader
3237 . set ( 'symlinks' , true )
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ const schema = createSchema(joi => joi.object({
44 baseUrl : joi . string ( ) ,
55 outputDir : joi . string ( ) ,
66 assetsDir : joi . string ( ) ,
7- compiler : joi . boolean ( ) ,
7+ runtimeCompiler : joi . boolean ( ) ,
88 transpileDependencies : joi . array ( ) ,
99 productionSourceMap : joi . boolean ( ) ,
1010 parallel : joi . boolean ( ) ,
You can’t perform that action at this time.
0 commit comments