chore: optimize prod configuration to control whether to delete origin files when using compress plugin (#443)

This commit is contained in:
舒培培
2021-04-05 22:00:54 +08:00
committed by GitHub
parent ee4829c15d
commit f7499cdb0d
4 changed files with 20 additions and 3 deletions

View File

@@ -12,6 +12,9 @@ VITE_DROP_CONSOLE = true
# If you need multiple forms, you can use `,` to separate
VITE_BUILD_COMPRESS = 'none'
# Whether to delete origin files when using compress, default false
VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE = true
# Basic interface address SPA
VITE_GLOB_API_URL=/basic-api