Skip to content

Commit

Permalink
fix: exclude @remix-run/server-runtime from external deps to reduce b…
Browse files Browse the repository at this point in the history
…undle size
  • Loading branch information
OnurGvnc committed Jan 10, 2023
1 parent f39de6c commit 77dd7ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require('esbuild').buildSync({
bundle: true,
entryPoints: ['src/index.ts'],
external: ['zod'],
external: ['zod', '@remix-run/server-runtime'],
outfile: 'dist/index.js',
platform: 'node',
target: ['node16'],
Expand Down

0 comments on commit 77dd7ce

Please sign in to comment.