添加H5配置项

This commit is contained in:
cbb
2026-01-21 15:03:25 +08:00
parent c25778f2bd
commit 028be888f1
2 changed files with 6 additions and 2 deletions

View File

@@ -14,7 +14,7 @@
<!--preload-links--> <!--preload-links-->
<!--app-context--> <!--app-context-->
</head> </head>
<!-- <script disable-devtool-auto src='https://cdn.jsdelivr.net/npm/disable-devtool'></script> -->
<body> <body>
<div id="app"><!--app-html--></div> <div id="app"><!--app-html--></div>
<script type="module" src="/main.js"></script> <script type="module" src="/main.js"></script>

View File

@@ -67,8 +67,12 @@
"h5" : { "h5" : {
"optimization" : { "optimization" : {
"treeShaking" : { "treeShaking" : {
"enable" : false "enable" : true
} }
},
"router" : {
"mode" : "history",
"base" : "/"
} }
}, },
"app-harmony" : { "app-harmony" : {