jkcfg / jk

Configuration as Code with ECMAScript
https://jkcfg.github.io
Apache License 2.0
405 stars 30 forks source link

Add source map support #22

Open dlespiau opened 5 years ago

dlespiau commented 5 years ago

When an exception is being raised from the js part of the std library, it references the one line of the bundled & minimised bit of code our sdt lib is compiled down to.

More generally, we should support source maps, whether it's to decode std library exceptions or external libraries that have been minified.

squaremo commented 5 years ago

Implementation notes:

dlespiau commented 5 years ago

Made std.js readable, so exceptions in the standard library are now readable! that alleviates the immediate need for sourcemaps. See PR #84.