diff options
author | 2021-09-17 15:15:43 -0700 | |
---|---|---|
committer | 2021-09-17 15:15:43 -0700 | |
commit | 468c4753591f231510b076976269dcae3d6bf13c (patch) | |
tree | 638956a2155260522ce3e15d8c934ddc175060f5 /integration/snippets/tsx-fallback-rewrite-works.tsx | |
parent | 8902a19bb42d766075b0aa9628fe6bb70b3804f1 (diff) | |
download | bun-468c4753591f231510b076976269dcae3d6bf13c.tar.gz bun-468c4753591f231510b076976269dcae3d6bf13c.tar.zst bun-468c4753591f231510b076976269dcae3d6bf13c.zip |
Add test for tsx/ts fallback imports
Diffstat (limited to '')
-rw-r--r-- | integration/snippets/tsx-fallback-rewrite-works.tsx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/integration/snippets/tsx-fallback-rewrite-works.tsx b/integration/snippets/tsx-fallback-rewrite-works.tsx new file mode 100644 index 000000000..b18619914 --- /dev/null +++ b/integration/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); +} |