You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
# Whether to open mock
|
|
|
|
|
VITE_USE_MOCK = false
|
|
|
|
|
|
|
|
|
|
# public path
|
|
|
|
|
VITE_PUBLIC_PATH = /
|
|
|
|
|
|
|
|
|
|
# Delete console
|
|
|
|
|
VITE_DROP_CONSOLE = true
|
|
|
|
|
|
|
|
|
|
# Whether to enable gzip or brotli compression
|
|
|
|
|
# Optional: gzip | brotli | none
|
|
|
|
|
# If you need multiple forms, you can use `,` to separate
|
|
|
|
|
VITE_BUILD_COMPRESS = 'gzip'
|
|
|
|
|
|
|
|
|
|
# Whether to delete origin files when using compress, default false
|
|
|
|
|
VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE = false
|
|
|
|
|
|
|
|
|
|
# Basic interface address SPA
|
|
|
|
|
VITE_GLOB_API_URL=http://60.209.125.238:3008
|
|
|
|
|
|
|
|
|
|
# File upload address, optional
|
|
|
|
|
VITE_GLOB_UPLOAD_URL=http://47.104.255.182:8091/api/VW_INFO_FILES/CommonUpload
|
|
|
|
|
|
|
|
|
|
# 预览地址
|
|
|
|
|
VITE_GLOB_VIEW_URL=http://60.209.125.238:3013
|
|
|
|
|
|
|
|
|
|
# Interface prefix
|
|
|
|
|
VITE_GLOB_API_URL_PREFIX=
|
|
|
|
|
|
|
|
|
|
# Whether to enable image compression
|
|
|
|
|
VITE_USE_IMAGEMIN= true
|
|
|
|
|
|
|
|
|
|
# use pwa
|
|
|
|
|
VITE_USE_PWA = false
|
|
|
|
|
|
|
|
|
|
# Is it compatible with older browsers
|
|
|
|
|
VITE_LEGACY = false
|