We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
프로그레시브 웹 앱(PWA)에서 버전 표시는 어떻게 할까? 일단, 매니패스트 파일에는 버전 항목이 없다.
VITE_APP_VERSION=$npm_package_version
import { execSync } from 'child_process'; export default defineConfig(() => { return { define: { GIT_COMMIT_HASH: JSON.stringify(execSync('git rev-parse --short HEAD', { encoding: 'utf-8' })), BUILD_TIME: JSON.stringify(new Date().toISOString()), } } })
There was an error while loading. Please reload this page.