Merge pull request #40 from dj-oyu/fix/miniapp-build-deps
fix: miniapp build deps resolution
This commit is contained in:
commit
56d70c6073
2 changed files with 2 additions and 0 deletions
|
|
@ -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) {
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue