chore: bump repl version

This commit is contained in:
Evan You 2024-01-02 10:54:13 +08:00
parent 24d77c25ce
commit be7eabda22
3 changed files with 8 additions and 5 deletions

View File

@ -13,7 +13,7 @@
"vite": "^5.0.5" "vite": "^5.0.5"
}, },
"dependencies": { "dependencies": {
"@vue/repl": "^3.1.0", "@vue/repl": "^3.1.1",
"file-saver": "^2.0.5", "file-saver": "^2.0.5",
"jszip": "^3.10.1", "jszip": "^3.10.1",
"vue": "workspace:*" "vue": "workspace:*"

View File

@ -69,6 +69,9 @@ const sfcOptions: SFCOptions = {
}, },
template: { template: {
isProd: useProdMode.value, isProd: useProdMode.value,
compilerOptions: {
isCustomElement: (tag: string) => tag === 'mjx-container'
}
}, },
} }

View File

@ -347,8 +347,8 @@ importers:
packages/sfc-playground: packages/sfc-playground:
dependencies: dependencies:
'@vue/repl': '@vue/repl':
specifier: ^3.1.0 specifier: ^3.1.1
version: 3.1.0 version: 3.1.1
file-saver: file-saver:
specifier: ^2.0.5 specifier: ^2.0.5
version: 2.0.5 version: 2.0.5
@ -1592,8 +1592,8 @@ packages:
engines: {node: '>= 0.12.0'} engines: {node: '>= 0.12.0'}
dev: true dev: true
/@vue/repl@3.1.0: /@vue/repl@3.1.1:
resolution: {integrity: sha512-lnR010NTkysg71Z0TVsFCTfiF5ARZbyohqymGpOxOrSuSI4o9RlSvWH6YmJdv9OHm5j69HKLVVUhXlCScMCQrg==} resolution: {integrity: sha512-9nJImsUeywU2MTqvzf4ueqWC49UC3LVXVPk1HmoNnLVumfWXv+w5ytuSA//fxb/N/O5vCqE0UV63/dYvnCZpwQ==}
dev: false dev: false
/@zeit/schemas@2.29.0: /@zeit/schemas@2.29.0: