Closed slavafomin closed 4 years ago
I'm not sure if I understand the issue correctly. Could you set up a repro case for this?
As we’ve not received a repro case I’m going to close this. If you manage to create one please ping me and I will reopen this.
Hello!
Thank you for this great plugin!
But, could you please share your thoughts on the following issue?
Consider a case, where there is a symbol in the source code, which triggers addition of the polyfill import by
preset-env
, likeimport 'core-js/modules/es.promise'
. However, this symbol is not used and not exported by the library, therefore Rollup removes it from the final bundle. And right now we have a situation where the symbol itself is removed, but the polyfill for it is left in the header of the bundle.Do you think if something could be done about it?
Thanks!
We are using the following configuration now:
And we have the
rollup-plugin-typescript2
before that.