Skip to content

Commit 7e241fa

Browse files
authored
fix: add tsEnumIsMutable option to SWC loader schema (#11499)
fix: add tsEnumIsMutable option to swc loader schema
1 parent 43d41d2 commit 7e241fa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/rspack/src/schema/loaders.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,7 @@ export const getZodSwcLoaderOptionsSchema = memoize(() => {
289289
decoratorMetadata: z.boolean(),
290290
decoratorVersion: z.enum(["2021-12", "2022-03"]),
291291
treatConstEnumAsEnum: z.boolean(),
292+
tsEnumIsMutable: z.boolean(),
292293
useDefineForClassFields: z.boolean(),
293294
verbatimModuleSyntax: z.boolean()
294295
})

0 commit comments

Comments
 (0)