Skip to content

Commit d11ebfb

Browse files
Merge pull request #689 from machty/machty-arch-tweak
Docs: Update ARCHITECTURE to reflect latest API
2 parents ea64ec5 + 00effeb commit d11ebfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ARCHITECTURE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ In addition, **environments** also influence elements of the **transform** layer
6969

7070
**Invariants:**
7171

72-
- Environments have one entrypoint for their configuration (specified by the `glint-environment` key in `package.json`), and one or more types-only entrypoints where they expose their specialized **template DSL** implementation(s).[^environments-dsl]
72+
- Environments have one entrypoint for their configuration (specified by the `"./glint-environment-definition"` export in `package.json`), and one or more types-only entrypoints where they expose their specialized **template DSL** implementation(s).[^environments-dsl]
7373
- An environment will typically depend on the bedrock **template DSL** as a basis for its own DSL implementation, and it might reference types from the **config** package in defining its configuration, but an environment should have no reason to ever execute code from other Glint packages.
7474

7575
[^environments-dsl]: I don't think any environments have multiple entrypoints today, but a hypothetical unified Ember environment in the near future would have separate DSLs for loose-mode and strict-mode templates.

0 commit comments

Comments
 (0)