Skip to content

add transpileModule function that can return emitted source map#3982

Merged
vladima merged 1 commit into
masterfrom
sourceMapsInTranspile
Jul 24, 2015
Merged

add transpileModule function that can return emitted source map#3982
vladima merged 1 commit into
masterfrom
sourceMapsInTranspile

Conversation

@vladima
Copy link
Copy Markdown
Contributor

@vladima vladima commented Jul 22, 2015

fixes #3363

existing transpile function returns emitted source code as a string so augmenting it to also return source map information will be a breaking change. Instead I've added new function transpileModule (suggestions for better names are welcome) that accepts arguments as record and returns an object containing generated code. source map data, diagnostics and any other stuff that we might want to add in the future.

@mhegazy
Copy link
Copy Markdown
Contributor

mhegazy commented Jul 24, 2015

👍

vladima added a commit that referenced this pull request Jul 24, 2015
add transpileModule function that can return emitted source map
@vladima vladima merged commit e1fa3c5 into master Jul 24, 2015
@vladima vladima deleted the sourceMapsInTranspile branch July 24, 2015 00:25
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

transpile function should provide the way to get generated source maps

3 participants