Skip to content

Will language service getEmitOutput always return map before JS? #4018

Closed
@nycdotnet

Description

@nycdotnet

We've just added support for using Babel as an alternate transpiler in atom-typescript (mostly to work around #3915 , and if any other similar issues crop up).

The feature includes support for doubly-mapped source maps. This functionality relies on the language service returning the .js.map file before the corresponding .js file when getEmitOutput(fileName) is called. See here.

Is this sequencing guaranteed?

Many thanks!

//cc: @mhegazy

Metadata

Metadata

Assignees

No one assigned

    Labels

    APIRelates to the public API for TypeScriptQuestionAn issue which isn't directly actionable in code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions