Skip to content

Commit fd43702

Browse files
authored
fix: add missing modernAst in validate_component_options (#11542)
1 parent faced06 commit fd43702

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/svelte/src/compiler/validate-options.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ export const validate_component_options =
8383

8484
namespace: list(['html', 'svg', 'foreign']),
8585

86+
modernAst: boolean(false),
87+
8688
outputFilename: string(undefined),
8789

8890
preserveComments: boolean(false),

0 commit comments

Comments
 (0)