Merge pull request #40 from dj-oyu/fix/miniapp-build-deps

fix: miniapp build deps resolution
This commit is contained in:
dj-oyu 2026-03-15 16:28:38 +09:00 committed by GitHub
commit 56d70c6073
2 changed files with 2 additions and 0 deletions

View file

@ -15,6 +15,7 @@ const result = await Bun.build({
target: 'browser', target: 'browser',
format: 'iife', format: 'iife',
sourcemap: 'none', sourcemap: 'none',
packages: 'bundle',
}); });
if (!result.success) { if (!result.success) {

View file

@ -13,6 +13,7 @@ import (
"github.com/sipeed/picoclaw/pkg/research" "github.com/sipeed/picoclaw/pkg/research"
) )
//go:generate bun install --cwd frontend
//go:generate bun run --cwd frontend build //go:generate bun run --cwd frontend build
//go:embed static //go:embed static
var staticFS embed.FS var staticFS embed.FS