mozilla / source-map

Consume and generate source maps.
Other
3.54k stars 357 forks source link

fixed `read properties of undefined (reading 'replace')` #509

Open Sanshain opened 3 months ago

Sanshain commented 3 months ago

fixed read properties of undefined (reading 'replace') inside relative function.

image

I've faced with the error by merging linaria source maps with the rest maps during building under rollup-plugin-hot-css via nollup

After the fix maps hasn't merged suckessfully, but at least has gone away unwanted error