Skip to content

Commit

Permalink
fix: stop service in build esbuild plugin as well
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Jan 4, 2021
1 parent 782494f commit 1a90b4e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/vite/src/node/plugins/esbuild.ts
Expand Up @@ -140,6 +140,10 @@ export const buildEsbuildPlugin = (config: ResolvedConfig): Plugin => {
target: target || undefined,
minify
})
},

async closeBundle() {
await stopService()
}
}
}
Expand Down

0 comments on commit 1a90b4e

Please sign in to comment.