Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Commit

Permalink
fix(schema): fix runtimeCompiler option
Browse files Browse the repository at this point in the history
  • Loading branch information
jhuang@hsk-partners.com committed May 12, 2022
1 parent ea68141 commit 7095f92
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
7 changes: 6 additions & 1 deletion packages/schema/src/config/_app.ts
Expand Up @@ -26,7 +26,12 @@ export default {
* @type {import('@vue/compiler-core').CompilerOptions}
* @version 3
*/
compilerOptions: {}
compilerOptions: {},
/**
* enable runtime compiler
* @version 3
*/
runtimeCompiler: false
},

/**
Expand Down
7 changes: 1 addition & 6 deletions packages/schema/src/config/build.ts
Expand Up @@ -266,12 +266,7 @@ export default {
object: 'src',
embed: 'src'
},
compilerOptions: { $resolve: (val, get) => val ?? get('vue.compilerOptions') },
/**
* enable runtime compiler
* @version 3
*/
runtimeCompiler: false
compilerOptions: { $resolve: (val, get) => val ?? get('vue.compilerOptions') }
},
css: {
importLoaders: 0,
Expand Down

0 comments on commit 7095f92

Please sign in to comment.