2 Repos
Merging modified strings into a single output while preserving the individual mapping data for each segment.
Distinct from String Manipulation: Specifically handles the preservation of source map metadata during the merge, which is not covered by general string manipulation tags.
Explore 2 awesome GitHub repositories matching programming languages & runtimes · Mapped String Concatenations. Refine with filters or upvote what's useful.
This project is a source map implementation library used for generating, parsing, and consuming source maps. It provides the functional components necessary to link transformed or minified code back to original source files, acting as a tool for code transformation debugging. The library includes a source map composer for building trees of code snippets that automatically produce output strings and mappings. It also functions as a source map merger, providing mechanisms to chain and merge multiple maps to resolve multi-step code transformations across different build stages. The project cove
Tracks offsets during code concatenation to preserve source map metadata while producing the final output string.
magic-string is a low-level JavaScript library designed for compilers and bundlers to perform source code transformations. It serves as a string transformation utility and source map manipulation library that allows for modifying text while automatically tracking character offsets. The library enables the modification of source code strings through insertions, replacements, and removals without losing the relationship to original source positions. It specifically provides mechanisms to generate mapping files that link transformed output text back to original source file coordinates. Capabili
Merges multiple modified strings into a single bundle while preserving individual mapping data for each segment.