commit
fixes
diff --git a/package.json b/package.json
index b159e81..2e11426 100644
--- a/package.json
+++ b/package.json
@@ -25,6 +25,6 @@
"typescript": "^7.0.2"
},
"allowScripts": {
- "[email protected]": true
+ "[email protected]": true
}
}
diff --git a/scripts/build.mjs b/scripts/build.mjs
index 3e7c08e..9df3abc 100644
--- a/scripts/build.mjs
+++ b/scripts/build.mjs
@@ -19,6 +19,10 @@ await build({
// Keep runtime deps (hono, openid-client, @hono/node-server) external so they
// resolve from node_modules at run time; only our own code + .css.ts is bundled.
packages: "external",
+ // url(/static/...) references in the .css.ts (cursors, etc.) are resolved by
+ // the app's static handler at run time, not on disk at build time — leave them
+ // untouched instead of trying (and failing) to bundle them.
+ external: ["/static/*"],
outdir: "dist",
minify: true,
logLevel: "info",