Skip to content

Commit b688fd5

Browse files
Update .changeset/long-mugs-pull.md
Co-authored-by: Somhairle MacLeòid <[email protected]>
1 parent 433c170 commit b688fd5

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

.changeset/long-mugs-pull.md

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,16 @@
44

55
feat: add `config.keep_names` option
66

7-
adds a new option so that developers can opt out of esbuild's `keep_names` option
8-
(see: https://esbuild.github.io/api/#keep-names) which wrangler otherwise sets
9-
to `true`
7+
Adds a new option to Wrangler to allow developers to opt out of esbuild's `keep_names` option (https://esbuild.github.io/api/#keep-names). By default, Wrangler sets this to `true`
108

11-
this is something developers should not usually need to care about, but sometimes
12-
`keep_names` can create issues, in such cases they will be now able to set opt
13-
out of it
9+
This is something developers should not usually need to care about, but sometimes
10+
`keep_names` can create issues, and in such cases they will be now able to opt-out.
1411

15-
example `wrangler.jsonc`:
12+
Example `wrangler.jsonc`:
1613

1714
```json
1815
{
1916
"name": "my-worker",
2017
"main": "src/worker.ts",
21-
"compatibility_flags": ["nodejs_compat"],
22-
23-
"minify": false
18+
"keep_names": false
2419
}
25-
```

0 commit comments

Comments
 (0)