As far as I understand last weeks.. There’s no way to make a bundle that will have “tree shaking” enabled without the minifying? It not looks cool to me. I tried bundling without minifying and it seems it is not tree-shaked.
Or if it is possible, how? Some examples? I’m talking for v2.
You could also use
--display-used-exports
, which display information about tree shaking in the outputOmg, seriously. I know it is wokring, that’s not the case. The case is that I want tree-shaked bundles without minifying – intentionally.
@sokra
What information? First it seems it does nothing for me, output is absolutely the same; Second don’t want “information”, I want real working bundle 😀