Skip to content

Commit 1809c5e

Browse files
authored
[wrangler] Stop publishing build metafile (#15398)
1 parent 10d6bfb commit 1809c5e

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

‎.changeset/quiet-pandas-pack.md‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"wrangler": patch
3+
---
4+
5+
Reduce Wrangler's published package size
6+
7+
Stop including the unused build metafile in the npm package, reducing its unpacked size by approximately 3.1 MiB.

‎packages/wrangler/tsup.config.ts‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ export default defineConfig((options) => [
108108
},
109109
outDir: "wrangler-dist",
110110
tsconfig: "tsconfig.json",
111-
metafile: true,
112111
external: EXTERNAL_DEPENDENCIES,
113112
sourcemap: process.env.SOURCEMAPS !== "false",
114113
inject: [path.join(__dirname, "import_meta_url.js")],

0 commit comments

Comments
 (0)