1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-15 03:48:02 -05:00
denoland-deno/tests/testdata/jsr/registry/@denotest/jsx-with-pragmas/1.0.0_meta.json
Bartek Iwańczuk a9aef0d017
test(jsr): add tests for jsx files with and without pragmas (#22634)
Follow up to https://github.com/denoland/deno/pull/22631 that asserts
behavior when JSX and TSX files have and do not have pragmas with 
`jsx*` config.
2024-02-29 19:35:23 +01:00

52 lines
1.3 KiB
JSON

{
"exports": {
".": "./mod.ts"
},
"moduleGraph1": {
"/mod.ts": {
"dependencies": [{
"type": "static",
"kind": "import",
"range": [[0, 0], [0, 35]],
"specifier": "./foo.jsx",
"specifierRange": [[0, 22], [0, 33]]
}, {
"type": "static",
"kind": "import",
"range": [[1, 0], [1, 25]],
"specifier": "./foo.tsx",
"specifierRange": [[1, 22], [1, 33]]
}]
},
"/foo.jsx": {
"dependencies": [{
"type": "static",
"kind": "import",
"range": [[0, 0], [0, 60]],
"specifier": "npm:preact/jsx-runtime",
"specifierRange": [[0, 32], [0, 60]]
}, {
"type": "static",
"kind": "import",
"range": [[2, 0], [2, 60]],
"specifier": "npm:preact-render-to-string",
"specifierRange": [[2, 32], [2, 60]]
}]
},
"/foo.tsx": {
"dependencies": [{
"type": "static",
"kind": "import",
"range": [[0, 0], [0, 60]],
"specifier": "npm:preact/jsx-runtime",
"specifierRange": [[0, 32], [0, 60]]
}, {
"type": "static",
"kind": "import",
"range": [[2, 0], [2, 60]],
"specifier": "npm:preact-render-to-string",
"specifierRange": [[2, 32], [2, 60]]
}]
}
}
}