fix: correct watch value type

This commit is contained in:
草鞋没号 2022-04-15 07:35:54 +08:00
parent 0ac3c66087
commit 47899db9a6

View File

@ -34,7 +34,7 @@ function watchMain(server) {
mode: 'development', mode: 'development',
plugins: [!debug && startElectron].filter(Boolean), plugins: [!debug && startElectron].filter(Boolean),
build: { build: {
watch: true, watch: {},
}, },
}) })
} }
@ -53,7 +53,7 @@ function watchPreload(server) {
}, },
}], }],
build: { build: {
watch: true, watch: {},
}, },
}) })
} }