chore: mode: 'development'

This commit is contained in:
草鞋没号 2021-11-25 15:52:23 +08:00
parent 95378c87a3
commit d86fa01865
1 changed files with 1 additions and 0 deletions

View File

@ -16,6 +16,7 @@ const pkg = JSON.parse(readFileSync(join(process.cwd(), 'package.json'), 'utf8')
*/
function getWatcher({ name, configFile, writeBundle }) {
return viteBuild({
mode: 'development',
// Options here precedence over configFile
build: {
watch: {},