3 ms·
You can only do so _thanks to_ the new module system. From the Rollup website [1]: > Since this approach is based on explicit import and export statements, it
by Vinnl 9y ago
You can only do so _thanks to_ the new module system. From the Rollup website [1]:
> Since this approach is based on explicit import and export statements, it is vastly more effective than simply running an automated minifier to detect unused variables in the compiled output code.
[1] https://rollupjs.org/#tree-shaking https://rollupjs.org/#tree-shaking