Do the optimizations require purs code?
shmish111 opened this issue · 1 comments
I am interested in using these optimizations in bazel but at this point I will already have compiled the purescript code. Can these optimizations be applied without access to the purescript code? What about if I have both the purescript code and the compiled javascript, I don't quite understand how this all works.
The optimizations don't require purs code (they operate entirely on JavaScript).
The optimizations occur after purs has been compiled to JavaScript, so it's entirely possible to run it separately from purs compilation. You can even run it on arbitrary non-purs JavaScript code.
However, I haven't used PureScript in years (I use Rust now), and this project isn't currently being maintained. If anybody else wants to take over maintenance, I'd appreciate it a lot!