diff options
author | Jake Leahy <jake@leahy.dev> | 2022-12-13 15:21:51 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-13 12:21:51 +0800 |
commit | 1fefb8e92a62c647028d0f00ebd9fc04da169789 (patch) | |
tree | bfb867459e1b0f9561deb21349ec76dbd97bd91c /.gitattributes | |
parent | d84f64d2e7a28d69c9a5b22b8434d1fb2f00ebf2 (diff) | |
download | Nim-1fefb8e92a62c647028d0f00ebd9fc04da169789.tar.gz |
Refactor JS sourcemap generator (#21053)
* Parse the new line format * Fix pattern Didn't have space after the path * Remove duplicate sources Sources would sometimes double up with a new line at the end * Remove unused variable * Refactor sourcemap.nim Removes the multiple translations needed, now goes from single high level type to the final SourceMap Adds documentation for procs * Line numbers line up properly now Files aren't linking correctly though * Files now link up correctly Lines are sometimes off but overall seems pretty good Just need to implement parser * Add column info to output Add sourceMappingURL to rope directly to prevent copy * Properly handle columns * Remove debug lines * Add testcase * Finish testcase * Use the outdir folder instead of the folder the test is in to find the sourcemap Co-authored-by: ringabout <43030857+ringabout@users.noreply.github.com>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions