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:
1 parent
2e0bf1e88e
commit
cb7a7a1fab
8 files changed
+158
-7
No files matched your search
@@ -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),
|
||||
})
|
||||
Reference in new issue
Block a user