Skip to content

Implicit modules support#677

Merged
ef4 merged 6 commits intomainfrom
implicit-modules-support
Nov 24, 2025
Merged

Implicit modules support#677
ef4 merged 6 commits intomainfrom
implicit-modules-support

Conversation

@ef4
Copy link
Copy Markdown
Collaborator

@ef4 ef4 commented Nov 19, 2025

This implements the implicit-modules feature from the v2 addon spec.

The motivation is deprecating ember-source's traditional AMD bundles. Today on classic builds, even though ember-source is a v2 addon, most of its modules side-step ember-auto-import and still get included as part of those AMD bundles. We're making an optional feature to stop doing that, and we're going to deprecate running with that feature disabled.

In this mode, ember-source will need to use implicit-modules to continue registering all its usual modules with the runtime loader. Otherwise, modules that are only used by a v1 addon that lacks ember-auto-import would be dropped from the build.

ef4 added 4 commits November 19, 2025 15:45
This implements the `implicit-modules` feature from the v2 addon spec.

The motivation is deprecating ember-source's traditional AMD bundles. Today on classic builds, even though ember-source is a v2 addon, most of its modules side-step ember-auto-import and still get included as part of those AMD bundles. We're making an optional feature to stop doing that, and we're going to deprecate running with that feature disabled.

In this mode, ember-source will need to use `implicit-modules` to continue registering all its usual modules with the runtime loader. Otherwise, modules that are only used by a v1 addon that lacks ember-auto-import would be dropped from the build.
@ef4 ef4 force-pushed the implicit-modules-support branch from 978d8de to 483884a Compare November 19, 2025 23:28
@ef4 ef4 marked this pull request as ready for review November 24, 2025 16:03
@ef4 ef4 added the enhancement New feature or request label Nov 24, 2025
@ef4 ef4 merged commit 94f2c42 into main Nov 24, 2025
142 checks passed
@ef4 ef4 deleted the implicit-modules-support branch November 24, 2025 16:04
@github-actions github-actions bot mentioned this pull request Nov 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant