This commit is contained in:
@@ -81,6 +81,9 @@ export default defineConfig(async (merge, { command, mode }) => {
|
||||
h5: {
|
||||
publicPath: "/",
|
||||
staticDirectory: "static",
|
||||
router: {
|
||||
mode: "browser", // 或者是 'browser'
|
||||
},
|
||||
output: {
|
||||
filename: "js/[name].[hash:8].js",
|
||||
chunkFilename: "js/[name].[chunkhash:8].js",
|
||||
|
||||
Reference in New Issue
Block a user