mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-11-18 20:11:14 +00:00
Add a source map test for JSX preserve
This commit is contained in:
1 parent
da35fef88e
commit
d4bb3539e0
7 files changed
+837
-24
No files matched your search
@@ -1451,7 +1451,7 @@ module Harness {
|
||||
}
|
||||
|
||||
export function isJSMap(fileName: string) {
|
||||
return stringEndsWith(fileName, '.js.map');
|
||||
return stringEndsWith(fileName, '.js.map') || stringEndsWith(fileName, '.jsx.map');
|
||||
}
|
||||
|
||||
/** Contains the code and errors of a compilation and some helper methods to check its status. */
|
||||
|
||||
Reference in new issue
Block a user