Loader (cms-client.js), submodule-aware editor source path, build:watch

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
matsandClaude Sonnet 5.5 committed 2026-11-01 11:02:20 +01:00
1 parent 2e0bf1e88e
commit cb7a7a1fab
8 files changed
+158 -7

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
import { runLoader } from './loader-core'
runLoader({
location,
cookie: { get: () => document.cookie, set: (v) => void (document.cookie = v) },
scriptSrc: (document.currentScript as HTMLScriptElement | null)?.src,
load: (url) => import(/* @vite-ignore */ url),
})