rtsao / css-to-js-sourcemap

Generates CSS w/ sourcemaps to lines in JS at runtime
MIT License
8 stars 4 forks source link

Fix RangeError when source maps are large #22

Closed rtsao closed 5 years ago

rtsao commented 5 years ago

Using a loop with String.fromCharCode instead of spread/apply resolves the issue