Skip to content

Commit

Permalink
build: externalize uWebSockets.js
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Jul 31, 2024
1 parent 3b395e3 commit b23b76d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default defineBuildConfig({
rollup: {
inlineDependencies: true,
},
externals: ["@cloudflare/workers-types", "bun", "@deno/types"],
externals: ["@cloudflare/workers-types", "bun", "@deno/types", "uWebSockets.js"],
hooks: {
async "build:done"(ctx) {
const entries = Object.keys(ctx.pkg.exports || {})
Expand Down

0 comments on commit b23b76d

Please sign in to comment.