fix: type errors

This commit is contained in:
三咲智子 2022-11-27 16:54:00 +08:00
parent c4af4a610e
commit a101b79486
No known key found for this signature in database
GPG key ID: 69992F2250DFD93E
4 changed files with 11 additions and 5 deletions

View file

@ -27,7 +27,7 @@ export default defineNuxtConfig({
},
vite: {
define: {
'__BUILD_TIME__': JSON.stringify(new Date().toISOString()),
'import.meta.env.__BUILD_TIME__': JSON.stringify(new Date().toISOString()),
'process.env.VSCODE_TEXTMATE_DEBUG': 'false',
},
build: {