mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-05 16:23:36 +00:00
mkstack builds with esbuild
This commit is contained in:
6 files changed
+229
-237
No files matched your search
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user