Skip to content

RFC#389 - {{element}} as keyword#21343

Open
NullVoxPopuli wants to merge 3 commits intomainfrom
nvp/element-as-keyword
Open

RFC#389 - {{element}} as keyword#21343
NullVoxPopuli wants to merge 3 commits intomainfrom
nvp/element-as-keyword

Conversation

@NullVoxPopuli
Copy link
Copy Markdown
Contributor

@NullVoxPopuli NullVoxPopuli commented Apr 26, 2026

Register element as a built-in keyword so it no longer needs to be imported in strict-mode (gjs/gts) templates.

Supersedes #21311

Demo: https://test-ember-source-nvp-elemen.limber-glimdown.pages.dev/edit?c=DwFwpgtgDgNghuAfAKAASoN4YMQzCVACjDwjADsCByACwEYqBKVOAZ1QB8ATASwDcOAX0Fp0qYLz6IQNHuzktyqesAD0klOiyq8IYcjXho8JEA&format=gjs

Register element as a built-in keyword so it no longer needs to be
imported in strict-mode (gjs/gts) templates.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@NullVoxPopuli NullVoxPopuli mentioned this pull request Apr 26, 2026
4 tasks
@NullVoxPopuli NullVoxPopuli marked this pull request as ready for review April 26, 2026 16:30
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 26, 2026

📊 Package size report   0.01%↑

File Before (Size / Brotli) After (Size / Brotli)
dist/dev/packages/@ember/template-compiler/lib/plugins/auto-import-builtins.js 2.1 kB / 521 B 17%↑2.4 kB / 4%↑542 B
dist/prod/packages/@ember/template-compiler/lib/plugins/auto-import-builtins.js 2.1 kB / 521 B 17%↑2.4 kB / 4%↑542 B
Total (Includes all files) 5.4 MB / 1.3 MB 0.01%↑5.4 MB / 0%↑1.3 MB
Tarball size 1.2 MB 0%↑1.2 MB

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

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.

1 participant