You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/core/src/v3/config.ts
+11-6Lines changed: 11 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -184,17 +184,22 @@ export type TriggerConfig = {
184
184
experimental_autoDetectExternal?: boolean;
185
185
186
186
/**
187
-
* **WARNING: This is an experimental feature and might be removed in a future version.**
187
+
* This still works but use `keepNames` instead.
188
188
*
189
-
* Preserve the original names of functions and classes in the bundle. This can fix issues with frameworks that rely on the original names for registration and binding, for example MikroORM.
189
+
* @default true
190
190
*
191
-
* @link https://esbuild.github.io/api/#keep-names
191
+
* @deprecated (use keepNames instead)
192
+
*/
193
+
experimental_keepNames?: boolean;
194
+
195
+
/* Set to false to minify the original names of functions and classes in the bundle.
196
+
* This can make bundles smaller at the cost of compatibility with frameworks that rely on function/class/variable names.
192
197
*
193
-
* @default false
198
+
* @link https://esbuild.github.io/api/#keep-names
194
199
*
195
-
* @deprecated (experimental)
200
+
* @default true
196
201
*/
197
-
experimental_keepNames?: boolean;
202
+
keepNames?: boolean;
198
203
199
204
/**
200
205
* **WARNING: This is an experimental feature and might be removed in a future version.**
0 commit comments