Closed dispalt closed 5 months ago
Do you think you'll get to this, I guess I could take a crack at it...
It would be nice if you work on it, but I'm not sure about the API
Basically name mangler works in parallel, even for a single file
Hmm, yeah that is a problem, but it must keep track of the renames successfully within a single file, right? Otherwise I would imagine it wouldn't work...
Yes
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.
I'll work on this
Describe the feature
So esbuild implements something for this: https://esbuild.github.io/api/#mangle-cache its basically to make mangle properties worth it by persisting over multiple files. Webpack via terserPlugin does the same with
nameCache
any chance we could get something like that inswc
?I like the way
esbuild
does it, it's subtle but you keep feeding it the same map and it grows. Obviously you can't use this feature and run files in parallel.Babel plugin or link to the feature description
No response
Additional context
No response