|
|
@@ -48,8 +48,8 @@ export default ({ command, mode }) => {
|
|
|
const {
|
|
|
VITE_APP_PORT,
|
|
|
VITE_SERVER_BASEURL,
|
|
|
+ VITE_APP_TITLE,
|
|
|
VITE_DELETE_CONSOLE,
|
|
|
- VITE_SHOW_SOURCEMAP,
|
|
|
VITE_APP_PUBLIC_BASE,
|
|
|
VITE_APP_PROXY_ENABLE,
|
|
|
VITE_APP_PROXY_PREFIX,
|
|
|
@@ -111,7 +111,7 @@ export default ({ command, mode }) => {
|
|
|
UNI_PLATFORM === 'h5' && {
|
|
|
name: 'html-transform',
|
|
|
transformIndexHtml(html) {
|
|
|
- return html.replace('%BUILD_TIME%', dayjs().format('YYYY-MM-DD HH:mm:ss')).replace('%VITE_APP_TITLE%', env.VITE_APP_TITLE)
|
|
|
+ return html.replace('%BUILD_TIME%', dayjs().format('YYYY-MM-DD HH:mm:ss')).replace('%VITE_APP_TITLE%', VITE_APP_TITLE)
|
|
|
},
|
|
|
},
|
|
|
// 打包分析插件,h5 + 生产环境才弹出
|