feat: add abortOnUnmount option

This commit is contained in:
Robert Soriano
2022-10-31 09:50:15 -07:00
parent 76619ac541
commit 4c8a6d7b35
4 changed files with 29 additions and 6 deletions

View File

@@ -5,9 +5,8 @@ export default defineConfig({
format: ['cjs', 'esm'],
splitting: false,
clean: true,
external: ['#app', '#imports'],
external: ['#app', '#imports', 'vue'],
dts: true,
// @ts-expect-error: Missing type
outExtension({ format }) {
return {
js: format === 'esm' ? '.mjs' : `.${format}`,