Skip to content

Commit

Permalink
Minify worker
Browse files Browse the repository at this point in the history
  • Loading branch information
penalosa committed Jul 18, 2024
1 parent 4c4dfbb commit d4acdaf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions types/scripts/build-worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,7 @@ if (require.main === module)
target: "esnext",
external: ["node:*", "workerd:*"],
bundle: true,
// TODO(soon): enable minification before deploying worker
// minify: true,
minify: true,
outdir: "types/dist",
outExtension: { ".js": ".mjs" },
entryPoints: ["types/src/worker/index.ts"],
Expand Down

0 comments on commit d4acdaf

Please sign in to comment.