From e55a3f5a31f7b4d1b0cf8ab2bf5ed2bc831e205c Mon Sep 17 00:00:00 2001 From: Toshit Chawda Date: Tue, 17 Dec 2024 15:33:08 -0800 Subject: [PATCH] nuke jsx --- rewriter/wasm/build.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/rewriter/wasm/build.sh b/rewriter/wasm/build.sh index 7234cf1..4b685f4 100644 --- a/rewriter/wasm/build.sh +++ b/rewriter/wasm/build.sh @@ -55,7 +55,14 @@ wasm-snip rewriter/wasm/out/wasm_bg.wasm -o rewriter/wasm/out/wasm_snipped.wasm 'oxc_parser::ts::types::::parse_type_reference' \ 'oxc_parser::ts::types::::parse_type_operator' \ 'oxc_parser::ts::types::::parse_type_literal' \ - 'oxc_parser::ts::statement::::is_at_enum_declaration' + 'oxc_parser::ts::statement::::is_at_enum_declaration' \ + 'oxc_parser::jsx::::parse_jsx_element' \ + 'oxc_parser::jsx::::parse_jsx_identifier' \ + 'oxc_parser::jsx::::parse_jsx_element_name' \ + 'oxc_parser::jsx::::parse_jsx_children' \ + 'oxc_parser::jsx::::parse_jsx_fragment' \ + 'oxc_parser::jsx::::parse_jsx_expression_container' \ + 'oxc_parser::jsx::::parse_jsx_expression' # # these are confirmed to break oxc # 'oxc_parser::ts::types::::parse_ts_type' \