Closed NullVoxPopuli closed 1 year ago
@ef4 I'm unsure of the value of the added test -- it seems this bug is really really hard to reproduce.
however I was able to yarn link
ember-auto-import to my problematic apps, and confirm that this addresses the issue those apps were facing.
Next step here is to remove things from the early boot set when their corresponding real package isn't in the app's package.json dependencies / devDependencies. This comes up in the test suite because our oldest supported ember doesn't support @glimmer/tracking
.
The fun deepens.
on that ember-source 3.4 + fastboot scenario, we get (after removing @glimmer/tracking
from the early boot set because it is not present in the package.json):
loader.js:247 Uncaught Error: Could not find module `@ember/service/index` imported from `__v1-addons__early-boot-set__`
and yet, here it is 🙃 (actually in vendor.js)
I disabled the feature entirely for old ember.
Green, sans ie11 timeout
…a list that loads them earlier in AMD
Partially resolves: https://github.com/ef4/ember-auto-import/issues/504