Skip to content

Commit

Permalink
fix(build): externalize libs
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed Feb 22, 2024
1 parent e47e37f commit e55d735
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion tsup.config.ts
Expand Up @@ -5,7 +5,14 @@ export default defineConfig({
clean: true,
format: ['cjs', 'esm'],
dts: true,
external: ['@vue/compiler-sfc', 'vue', 'vue-router'],
external: [
'@vue/compiler-sfc',
'vue',
'vue-router',
'vue-demi',
'@pinia/colada',
'pinia',
],
cjsInterop: true,
splitting: true,
})

0 comments on commit e55d735

Please sign in to comment.