Skip to content

[BUGFIX release] Fix implicit-modules naming#21244

Merged
kategengler merged 1 commit intomainfrom
fix-implicit-modules
Mar 25, 2026
Merged

[BUGFIX release] Fix implicit-modules naming#21244
kategengler merged 1 commit intomainfrom
fix-implicit-modules

Conversation

@ef4
Copy link
Copy Markdown
Contributor

@ef4 ef4 commented Mar 25, 2026

The bug here is:

  • in a classic build
  • with use-ember-modules enabled
  • a v1 addon that does not have a dependency on ember-auto-import
  • tries to access a module from ember that nobody else was already importing via ember-auto-import

This case is supposed to work because of the implicit-modules list defined in lib/index.js. But that list had several mismatches between the actual files in dist and the way they're spelled in lib/index.js. ember-auto-import cares about the difference.

If we backport this (possibly as far as 6.10, since that's where use-ember-modules is introduced), we need to be aware of making this list match the actual dist produced on that ember version. These files changed at the point where the glimmer packages moved into the monorepo.

The bug here is:
 - in a classic build
 - with use-ember-modules enabled
 - a v1 addon that does not have a dependency on ember-auto-import
 - tries to access a module from ember that nobody else was already importing via ember-auto-import

This case is supposed to work because of the implicit-modules list defined in lib/index.js. But that list had several mismatches between the actual files in `dist` and the way they're spelled in lib/index.js. ember-auto-import cares about the difference.

If we backport this (possibly as far as 6.10, since that's where use-ember-modules is introduced), we need to be aware of making this list match the actual `dist` produced on that ember version. These files changed at the point where the glimmer packages moved into the monorepo.
@ef4 ef4 changed the title [bugfix release] Fix implicit-modules naming [BUGFIX release] Fix implicit-modules naming Mar 25, 2026
@github-actions
Copy link
Copy Markdown
Contributor

📊 Package size report   0%↑

File Before (Size / Brotli) After (Size / Brotli)
lib/index.js 15.4 kB / 2.8 kB 0.8%↑15.5 kB / -0.22%↓2.8 kB
Total (Includes all files) 17.1 MB / 3.2 MB 0%↑17.1 MB / 0%↑3.2 MB
Tarball size 3.9 MB 0%↑3.9 MB

🤖 This report was automatically generated by pkg-size-action

@kategengler kategengler merged commit 569012f into main Mar 25, 2026
40 of 41 checks passed
@kategengler kategengler deleted the fix-implicit-modules branch March 25, 2026 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants