-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: remote jsx/tsx files were compiled as js/ts (#3125)
- Loading branch information
Showing
15 changed files
with
194 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// When run against the test HTTP server, it will serve different media types | ||
// based on the URL containing `.t#.` strings, which exercises the different | ||
// mapping of media types end to end. | ||
import { loaded as loadedTsx1 } from "http://localhost:4545/cli/tests/subdir/mt_text_typescript_tsx.t1.tsx"; | ||
import { loaded as loadedTsx2 } from "http://localhost:4545/cli/tests/subdir/mt_video_vdn_tsx.t2.tsx"; | ||
import { loaded as loadedTsx3 } from "http://localhost:4545/cli/tests/subdir/mt_video_mp2t_tsx.t3.tsx"; | ||
import { loaded as loadedTsx4 } from "http://localhost:4545/cli/tests/subdir/mt_application_x_typescript_tsx.t4.tsx"; | ||
import { loaded as loadedJsx1 } from "http://localhost:4545/cli/tests/subdir/mt_text_javascript_jsx.j1.jsx"; | ||
import { loaded as loadedJsx2 } from "http://localhost:4545/cli/tests/subdir/mt_application_ecmascript_jsx.j2.jsx"; | ||
import { loaded as loadedJsx3 } from "http://localhost:4545/cli/tests/subdir/mt_text_ecmascript_jsx.j3.jsx"; | ||
import { loaded as loadedJsx4 } from "http://localhost:4545/cli/tests/subdir/mt_application_x_javascript_jsx.j4.jsx"; | ||
|
||
console.log( | ||
"success", | ||
loadedTsx1, | ||
loadedTsx2, | ||
loadedTsx3, | ||
loadedTsx4, | ||
loadedJsx1, | ||
loadedJsx2, | ||
loadedJsx3, | ||
loadedJsx4 | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
success true true true true true true true true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
local: [WILDCARD]048_media_types_jsx.ts | ||
type: TypeScript | ||
compiled: [WILDCARD]048_media_types_jsx.ts.js | ||
map: [WILDCARD]048_media_types_jsx.ts.js.map | ||
deps: | ||
http://127.0.0.1:4545/cli/tests/048_media_types_jsx.ts | ||
├── http://localhost:4545/cli/tests/subdir/mt_text_typescript_tsx.t1.tsx | ||
├── http://localhost:4545/cli/tests/subdir/mt_video_vdn_tsx.t2.tsx | ||
├── http://localhost:4545/cli/tests/subdir/mt_video_mp2t_tsx.t3.tsx | ||
├── http://localhost:4545/cli/tests/subdir/mt_application_x_typescript_tsx.t4.tsx | ||
├── http://localhost:4545/cli/tests/subdir/mt_text_javascript_jsx.j1.jsx | ||
├── http://localhost:4545/cli/tests/subdir/mt_application_ecmascript_jsx.j2.jsx | ||
├── http://localhost:4545/cli/tests/subdir/mt_text_ecmascript_jsx.j3.jsx | ||
└── http://localhost:4545/cli/tests/subdir/mt_application_x_javascript_jsx.j4.jsx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
const React = { | ||
createElement() {} | ||
} | ||
const temp = <div></div>; | ||
export const loaded = true; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
const React = { | ||
createElement() {} | ||
} | ||
const temp = <div></div>; | ||
export const loaded = true; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
const React = { | ||
createElement() {} | ||
} | ||
const temp = <div></div>; | ||
export const loaded = true; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
const React = { | ||
createElement() {} | ||
} | ||
const temp = <div></div>; | ||
export const loaded = true; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
const React = { | ||
createElement() {} | ||
} | ||
const temp = <div></div>; | ||
export const loaded = true; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
const React = { | ||
createElement() {} | ||
} | ||
const temp = <div></div>; | ||
export const loaded = true; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
const React = { | ||
createElement() {} | ||
} | ||
const temp = <div></div>; | ||
export const loaded = true; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
const React = { | ||
createElement() {} | ||
} | ||
const temp = <div></div>; | ||
export const loaded = true; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
const React = { | ||
createElement() {} | ||
} | ||
const temp = <div></div>; | ||
export const loaded = true; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters