Does the K/JS compiler perform optimizations on `U...
# javascript
e
Does the K/JS compiler perform optimizations on
UNUSED_VARIABLE
? Does it avoid generating code for such tokens? Edit: apparently, it does not optimize
a
As far as I remember - no. Such optimizations we delegate to terser, but, as I remember, you don't use webpack in your build, do you?
e
@Artem Kobzar exactly, because the Node.js target doesn't pass by any terser or bundler.
I'd have to set it up on my own, but I risk on breaking the TS interop.