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
transpiler: add sourcemaps #20
Milestone
Comments
vojtajina
added a commit
to vojtajina/angular
that referenced
this issue
Oct 30, 2014
This changes the API of `tools/transpiler/index.js`. I believe it’s not used anywhere besides `gulp-traceur.js` and `karma-traceur-preprocessor.js`. Instead of returning the transpiled string, `compile()` returns a result object such as: ```js { js: ‘transpiled code’, sourceMap: null || {} } ``` Closes angular#20
vojtajina
added a commit
to vojtajina/angular
that referenced
this issue
Nov 4, 2014
For Karma, the source mapa are inlined inside each source file. For `build/*` output, separate `*.map` file is created. This changes the API of `tools/transpiler/index.js`. I believe this API is only used in `gulp-traceur.js` and `karma-traceur-preprocessor.js`. Instead of returning the transpiled string, `compile()` returns a result object such as: ```js { js: ‘transpiled code’, sourceMap: null || {} } ``` Closes angular#20
vojtajina
added a commit
to vojtajina/angular
that referenced
this issue
Nov 5, 2014
For Karma, the source mapa are inlined inside each source file. For `build/*` output, separate `*.map` file is created. This changes the API of `tools/transpiler/index.js`. I believe this API is only used in `gulp-traceur.js` and `karma-traceur-preprocessor.js`. Instead of returning the transpiled string, `compile()` returns a result object such as: ```js { js: ‘transpiled code’, sourceMap: null || {} } ``` Closes angular#20
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
when an exception is reported the stack trace is from transpiled file, but my code is in source file.
Need to generate source maps for debug code
Need to rewrite stack trace to have original line numbers.
The text was updated successfully, but these errors were encountered: