ds300/react-native-typescript-transformer

Can you update source-map to improve performance?

Closed this issue ยท 6 comments

https://github.com/mozilla/source-map/blob/master/CHANGELOG.md
SourceMapConsumer now uses WebAssembly, which is much faster

ds300 commented

Absolutely!

ds300 commented

I ran into an issue with this and submitted a PR to source-map to fix it mozilla/source-map#330 โ€” will try again once that gets published.

@ds300 Appreciate your quick and nice work! FYI, the new version of source-map was published 2 days ago mozilla/source-map@b2171d5

ds300 commented

Sweet, thanks for the heads up! I'll take a look soon.

ds300 commented

Just published react-native-typescript-transformer@1.2.6 with the new source-map ๐ŸŽ‰

ds300 commented

I decided to revert this change. It broke some people's builds already, and would probably break some more in the coming weeks. I don't think the perf improvements from wasm are worth the time and effort required from the people this affects. Maybe I'll try again in a while.