fuse-open / fuselibs

Fuselibs is the Uno-libraries that provide the UI framework used in Fuse apps
https://npmjs.com/package/@fuse-open/fuselibs
MIT License
176 stars 72 forks source link

Honor JS source maps in ScriptException #814

Open sebbert opened 6 years ago

sebbert commented 6 years ago

For transpiled JavaScript, the line/column information for the transpiled code is not very useful. Often, a source map is included, which maps every line of the transpiled code to its corresponding line in the original source. We can take advantage of this to display more useful information when a runtime JS error occurs.

sebbert commented 6 years ago

This requires an implementation of the source map format described here