Skip to content

Commit

Permalink
Merge pull request #18 from michealroberts/build/vite/peerDependencies
Browse files Browse the repository at this point in the history
build(roolup): exclude peer dependencies from bundle
  • Loading branch information
michealroberts authored Apr 12, 2024
2 parents 31ea38c + f56b4ad commit c5021a5
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 c5021a5

Please sign in to comment.