refactor(web): move embed package to web/ so go:embed reaches build/

go:embed paths are relative to the source file and cannot reach parent
directories, so internal/web/embed.go could not see web/build/ without
duplicating the placeholder. Relocating to web/embed.go lets the
directive resolve to the real SvelteKit build output with no copy step.
This commit is contained in:
2026-04-22 10:29:31 -04:00
parent d5692a73ca
commit 8fe4a5f578
18 changed files with 0 additions and 31 deletions
-1
View File
@@ -1 +0,0 @@
export const env={}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
import{u as o,c as t,l as c,a as u}from"./Bczxu_ef.js";function l(n){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function r(n){t===null&&l(),c&&t.l!==null?a(t).m.push(n):o(()=>{const e=u(n);if(typeof e=="function")return e})}function a(n){var e=n.l;return e.u??(e.u={a:[],b:[],m:[]})}export{r as o};
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
import{e}from"./Bczxu_ef.js";e();
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
import{i as p,j as u,k as c,m as l,n as E,T as w,o as g,h as i,q as s,R as y,b as N,v as x,w as M,x as b}from"./Bczxu_ef.js";var f;const d=((f=globalThis==null?void 0:globalThis.window)==null?void 0:f.trustedTypes)&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:t=>t});function A(t){return(d==null?void 0:d.createHTML(t))??t}function L(t){var r=p("template");return r.innerHTML=A(t.replaceAll("<!>","<!---->")),r.content}function n(t,r){var e=c;e.nodes===null&&(e.nodes={start:t,end:r,a:null,t:null})}function P(t,r){var e=(r&w)!==0,m=(r&g)!==0,a,v=!t.startsWith("<!>");return()=>{if(i)return n(s,null),s;a===void 0&&(a=L(v?t:"<!>"+t),e||(a=l(a)));var o=m||E?document.importNode(a,!0):a.cloneNode(!0);if(e){var T=l(o),h=o.lastChild;n(T,h)}else n(o,o);return o}}function C(t=""){if(!i){var r=u(t+"");return n(r,r),r}var e=s;return e.nodeType!==x?(e.before(e=u()),M(e)):b(e),n(e,e),e}function I(){if(i)return n(s,null),s;var t=document.createDocumentFragment(),r=document.createComment(""),e=u();return t.append(r,e),n(r,e),t}function D(t,r){if(i){var e=c;(!(e.f&y)||e.nodes.end===null)&&(e.nodes.end=s),N();return}t!==null&&t.before(r)}const R="5";var _;typeof window<"u"&&((_=window.__svelte??(window.__svelte={})).v??(_.v=new Set)).add(R);export{D as a,n as b,I as c,P as f,C as t};
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
import{l as o,a as r}from"../chunks/Dg9CzvF0.js";export{o as load_css,r as start};
@@ -1 +0,0 @@
import{c as o,a as s}from"../chunks/jjiUbCvc.js";import"../chunks/TKBjD5KV.js";import{h as l,b as d,f as m}from"../chunks/Bczxu_ef.js";function c(f,a,t,e,u){var i;l&&d();var n=(i=a.$$slots)==null?void 0:i[t],r=!1;n===!0&&(n=a.children,r=!0),n===void 0||n(f,r?()=>e:e)}function v(f,a){var t=o(),e=m(t);c(e,a,"default",{}),s(f,t)}export{v as component};
@@ -1 +0,0 @@
import{a as g,f as h}from"../chunks/jjiUbCvc.js";import{p as d,f as v,t as l,d as _,g as a,r as o,s as x}from"../chunks/Bczxu_ef.js";import{s as p}from"../chunks/VGLXWWN0.js";import{s as $,p as m}from"../chunks/Dg9CzvF0.js";const k={get error(){return m.error},get status(){return m.status}};$.updated.check;const f=k;var b=h("<h1> </h1> <p> </p>",1);function y(c,n){d(n,!0);var t=b(),r=v(t),u=a(r,!0);o(r);var e=x(r,2),i=a(e,!0);o(e),l(()=>{var s;p(u,f.status),p(i,(s=f.error)==null?void 0:s.message)}),g(c,t),_()}export{y as component};
@@ -1 +0,0 @@
import{a as s,f as a}from"../chunks/jjiUbCvc.js";import"../chunks/TKBjD5KV.js";var n=a('<main class="flex h-screen items-center justify-center"><div class="text-center"><h1 class="text-4xl font-semibold">Minstrel</h1> <p class="mt-2 text-text-secondary">Scaffold &mdash; UI features land in subsequent plans.</p></div></main>');function i(e){var t=n();s(e,t)}export{i as component};
-1
View File
@@ -1 +0,0 @@
{"version":"1776864372510"}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 70 B

-15
View File
@@ -1,15 +0,0 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Minstrel</title>
</head>
<body>
<p>
Minstrel SPA has not been built. Run
<code>cd web &amp;&amp; npm install &amp;&amp; npm run build</code> or
build the container image, which runs the web build during
<code>docker build</code>.
</p>
</body>
</html>