Skip to content

fix(cms): keep Rocket Loader away from the Sveltia script - #19

Merged
comdotlinux merged 2 commits into
mainfrom
fix/cms-rocket-loader
Nov 15, 2026
Merged

comdotlinux merged 2 commits into
mainfrom
fix/cms-rocket-loader

Conversation

@comdotlinux

Copy link
Copy Markdown
Owner

Rocket Loader (on for the zone) rewrote the Sveltia script tag; the bundle loaded but never ran, so /admin/ was blank after Access login. Adds data-cfasync="false" plus a unit test. ESLint also ignores .omc/ (local agent notes) so the local gate stays green.

Local gate: lint 0, build 27 pages, unit 75, e2e 96, Lighthouse 99.8%; CMS unit 18, integration 2.

https://claude.ai/code/session_01426xQEC2VhQSZVe7cBXuz5

Rocket Loader is on for the kulkarni.cloud zone. It rewrote the Sveltia
script tag, the bundle loaded but never ran, and /admin/ stayed blank.
data-cfasync="false" opts the tag out; a unit test keeps it there.
ESLint now ignores .omc/ (local agent notes, never committed).

Claude-Session: https://claude.ai/code/session_01426xQEC2VhQSZVe7cBXuz5
Cloudflare docs: the data-cfasync attribute must come before src.
The test now checks the order.

Claude-Session: https://claude.ai/code/session_01426xQEC2VhQSZVe7cBXuz5
@comdotlinux
comdotlinux merged commit 1718e8d into main Nov 15, 2026
7 checks passed
@comdotlinux
comdotlinux deleted the fix/cms-rocket-loader branch November 15, 2026 11:01
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.

2 participants