inlined JSON schema form library and updated related references to address bundling and React static asset issues

This commit is contained in:
dswbx
2025-01-11 08:09:52 +01:00
parent 3bf92a8c65
commit c06ba061f0
7 changed files with 409 additions and 12 deletions

View File

@@ -11,13 +11,7 @@ let app: App;
export type BunBkndConfig = RuntimeBkndConfig & Omit<ServeOptions, "fetch">;
export async function createApp({
distPath,
onBuilt,
buildConfig,
beforeBuild,
...config
}: RuntimeBkndConfig = {}) {
export async function createApp({ distPath, ...config }: RuntimeBkndConfig = {}) {
const root = path.resolve(distPath ?? "./node_modules/bknd/dist", "static");
if (!app) {