Introducing use-ember-modules optional feature by ef4 · Pull Request #21009 · emberjs/ember.js

@ef4

This is work-in-progress for RFC 1101, which would deprecate consuming ember via the AMD bundles.

This PR is creating an optional feature that makes classic builds consume ember the same way Embroider does (using `dist/packages` instead of `dist/ember.debug.js`, etc).

TODOs:
 - we should add v2 addon meta 'implicit-modules' support to ember-auto-import
 - and use implicit-modules in the new branch within autoImportMeta to eagerly register all the modules that were in the amd-compat-entrypoint.

@ef4 marked this pull request as draft

November 18, 2025 20:18

@ef4 ef4 marked this pull request as ready for review

November 25, 2025 19:34

ef4 added a commit that referenced this pull request

Nov 25, 2025
#21009 added the optional feature to use ES modules instead of AMD bundles, this follows up by emitting a deprecation if you don't do that.

@ef4 ef4 mentioned this pull request

Nov 25, 2025