diff options
author | 2021-09-30 18:58:39 -0700 | |
---|---|---|
committer | 2021-09-30 18:58:39 -0700 | |
commit | fdda1078f8f4b6fa6c24338c3fc538831f356a10 (patch) | |
tree | 6354e37a837dca606959f377f19b7b9c6a954161 /packages/bun-macro-relay/test/foo.tsx | |
parent | 88e7e12a50075515af3be6aed9231880ae5df7b5 (diff) | |
download | bun-fdda1078f8f4b6fa6c24338c3fc538831f356a10.tar.gz bun-fdda1078f8f4b6fa6c24338c3fc538831f356a10.tar.zst bun-fdda1078f8f4b6fa6c24338c3fc538831f356a10.zip |
Support remapping macro paths
Diffstat (limited to 'packages/bun-macro-relay/test/foo.tsx')
-rw-r--r-- | packages/bun-macro-relay/test/foo.tsx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/bun-macro-relay/test/foo.tsx b/packages/bun-macro-relay/test/foo.tsx new file mode 100644 index 000000000..fbb54f551 --- /dev/null +++ b/packages/bun-macro-relay/test/foo.tsx @@ -0,0 +1,11 @@ +import { graphql } from "react-relay"; + +export const Foo = () => { + const definition = graphql` + query FooOperation { + foo + } + `; + + return <div>{definition.operation.name}</div>; +}; |