File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -48,8 +48,8 @@ export default ({ command, mode }) => {
48
48
const {
49
49
VITE_APP_PORT ,
50
50
VITE_SERVER_BASEURL ,
51
+ VITE_APP_TITLE ,
51
52
VITE_DELETE_CONSOLE ,
52
- VITE_SHOW_SOURCEMAP ,
53
53
VITE_APP_PUBLIC_BASE ,
54
54
VITE_APP_PROXY_ENABLE ,
55
55
VITE_APP_PROXY_PREFIX ,
@@ -111,7 +111,7 @@ export default ({ command, mode }) => {
111
111
UNI_PLATFORM === 'h5' && {
112
112
name : 'html-transform' ,
113
113
transformIndexHtml ( html ) {
114
- return html . replace ( '%BUILD_TIME%' , dayjs ( ) . format ( 'YYYY-MM-DD HH:mm:ss' ) ) . replace ( '%VITE_APP_TITLE%' , env . VITE_APP_TITLE )
114
+ return html . replace ( '%BUILD_TIME%' , dayjs ( ) . format ( 'YYYY-MM-DD HH:mm:ss' ) ) . replace ( '%VITE_APP_TITLE%' , VITE_APP_TITLE )
115
115
} ,
116
116
} ,
117
117
// 打包分析插件,h5 + 生产环境才弹出
You can’t perform that action at this time.
0 commit comments