Skip to content

add transpileModule function that can return emitted source map #3982

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 24, 2015

Conversation

vladima
Copy link
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
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