We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
keep_names
1 parent 5710518 commit 04f9164Copy full SHA for 04f9164
.changeset/fair-lamps-fix.md
@@ -0,0 +1,5 @@
1
+---
2
+"wrangler": patch
3
4
+
5
+fix the default value for keep_names (`true`)
packages/wrangler/src/config/environment.ts
@@ -358,9 +358,11 @@ interface EnvironmentInheritable {
358
minify: boolean | undefined;
359
360
/**
361
- * Keep function names after javascript transpilations.
+ * Set the `name` property to the original name for functions and classes renamed during minification.
362
*
363
- * @default {true}
+ * See https://esbuild.github.io/api/#keep-names
364
+ *
365
+ * @default true
366
* @inheritable
367
*/
368
keep_names: boolean | undefined;
0 commit comments