embroider-build / ember-auto-import

Zero config import from npm packages
Other
360 stars 109 forks source link

Respect v2 addon's explicit external list #541

Closed ef4 closed 2 years ago

ef4 commented 2 years ago

As a compatibility feature, v2 addons are allowed to list externals in the package metadata. These are dependencies that should be resolved at runtime from the surrounding environment, not at build time. Embroider respects this option but ember-auto-import does not.

ef4 commented 2 years ago

(As a general point, this kind of decision needs to move into @embroider/shared-internals so we're not constantly reproducing the same behavior in more than one place.)