From 587f2e0800a55e58b2579758d4278a4129b609c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Wed, 1 Nov 2023 21:30:23 +0100 Subject: feat: precompile JSX (#20962) Co-authored-by: Marvin Hagemeister --- cli/tests/testdata/run/jsx_precompile/no_pragma.out | 3 +++ cli/tests/testdata/run/jsx_precompile/no_pragma.tsx | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 cli/tests/testdata/run/jsx_precompile/no_pragma.out create mode 100644 cli/tests/testdata/run/jsx_precompile/no_pragma.tsx (limited to 'cli/tests/testdata/run/jsx_precompile') diff --git a/cli/tests/testdata/run/jsx_precompile/no_pragma.out b/cli/tests/testdata/run/jsx_precompile/no_pragma.out new file mode 100644 index 000000000..437995923 --- /dev/null +++ b/cli/tests/testdata/run/jsx_precompile/no_pragma.out @@ -0,0 +1,3 @@ +Download http://localhost:4545/jsx/jsx-precompile/index.ts +Check file:///[WILDCARD]/run/jsx_precompile/no_pragma.tsx +imported http://localhost:4545/jsx/jsx-precompile/index.ts diff --git a/cli/tests/testdata/run/jsx_precompile/no_pragma.tsx b/cli/tests/testdata/run/jsx_precompile/no_pragma.tsx new file mode 100644 index 000000000..7ba21d80d --- /dev/null +++ b/cli/tests/testdata/run/jsx_precompile/no_pragma.tsx @@ -0,0 +1,3 @@ +export function A() { + return

hello

; +} -- cgit v1.2.3