aboutsummaryrefslogtreecommitdiff
path: root/test/snippets/tsx-fallback-rewrite-works.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'test/snippets/tsx-fallback-rewrite-works.tsx')
-rw-r--r--test/snippets/tsx-fallback-rewrite-works.tsx5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/snippets/tsx-fallback-rewrite-works.tsx b/test/snippets/tsx-fallback-rewrite-works.tsx
new file mode 100644
index 000000000..b18619914
--- /dev/null
+++ b/test/snippets/tsx-fallback-rewrite-works.tsx
@@ -0,0 +1,5 @@
+// This looks like it does nothing
+// But if you import /tsx-fallback-rewrite-works.js, it should resolve the import to /tsx-fallback-rewrite-works.tsx
+export function test() {
+ return testDone(import.meta.url);
+}