Skip to content

Commit

Permalink
build(roolup): exclude peer dependencies from bundle
Browse files Browse the repository at this point in the history
build(roolup): exclude peer dependencies from bundle
  • Loading branch information
michealroberts committed Apr 12, 2024
1 parent 31ea38c commit f56b4ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default defineConfig({
fileName: format => `trpc-nitro-adapter.${format}.js`
},
rollupOptions: {
external: ['./playground/*.ts'],
external: [/^@trpc\/server/, /^ufo/, /^h3/],
output: {
sourcemap: true
}
Expand Down

0 comments on commit f56b4ad

Please sign in to comment.