Dynamic imports wrongly loads static import dependencies inside packages #9182
When you use
import SuperHeavyJSPackage from 'super-heavy-js-package';
While this works fine inside the
Here's a reproduction I created with help from @Discordius, who found the issue:
And here's the same code running out of
It seems like the problem has been around since 1.5 as far as I can tell.
The text was updated successfully, but these errors were encountered:
This is definitely a bug!
I don't expect this to mean much to anyone but me, but I've tracked the problem down to this line, which is executed when a Meteor package tries to import an npm package from the application