You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Change name of transpiled file if it matches the name of the output file to allow source maps to work #4301
Where the sources and file name are the same. The point is that for in-browser transpilation we have to change the name of the transpiled source to source.js!transpiled so it can have a separate representation in the debugger, but the load.address argument provided to transpile at https://github.com/ModuleLoader/es6-module-loader/blob/master/src/transpiler.js#L78 becomes both the sources and file value.
Thanks for looking into this, as mentioned in systemjs/systemjs#636 (comment) it is actually working fine as-is. The sourceMappingURL on its own is enough to inform the debugging representation it seems.
Activity
guybedford commentedon Aug 17, 2015
Thanks for looking into this, as mentioned in systemjs/systemjs#636 (comment) it is actually working fine as-is. The
sourceMappingURLon its own is enough to inform the debugging representation it seems.vladima commentedon Aug 17, 2015
closing as original issue is resolved