Skip to content

Commit c6fa167

Browse files
committed
Fix the default value for keep_names
1 parent 3383021 commit c6fa167

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

packages/wrangler/src/config/environment.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -358,9 +358,11 @@ interface EnvironmentInheritable {
358358
minify: boolean | undefined;
359359

360360
/**
361-
* Keep function names after javascript transpilations.
361+
* Set the `name` property to the original name on function and classes renamed during minification.
362362
*
363-
* @default {true}
363+
* See https://esbuild.github.io/api/#keep-names
364+
*
365+
* @default true
364366
* @inheritable
365367
*/
366368
keep_names: boolean | undefined;

0 commit comments

Comments
 (0)