mkstack builds with esbuild

This commit is contained in:
Alex Gleason committed 2025-08-11 13:15:08 -08:00
1 parent 4f31588cec
commit 82daf4044b
6 files changed
+229 -237

No files matched your search

+6 -1
View File
@@ -73,7 +73,12 @@ export function ChatPane({ projectId, projectName }: ChatPaneProps) {
setIsBuildLoading(true);
updateMetadata('Shakespeare', `Building ${projectName}...`);
const dist = await buildProject(browserFS, projectId);
const dist = await buildProject({
fs: browserFS,
projectPath: `/projects/${projectId}`,
domParser: new DOMParser(),
target: "esnext",
});
console.log(dist);