Loading...

HAX imports use explicit .js paths

AGENTS.md and proposed

Our own elements are imported with the full .js file path, since the server can't load extensionless paths. Proposed in the HAX Scheduled Background Jobs Plan; not written into RULES.md or AGENTS.md yet. Enforced by ESLint. ESLint no-restricted-syntax in webcomponents flags extensionless or bare imports of @haxtheweb/* and relative modules; an error in CI and in yarn precheck.

Status: planned

Connects to