diff --git a/app/srv/ws/sync/editor/code/build.ts b/app/srv/ws/sync/editor/code/build.ts index 54b1d0f4..b5687bfb 100644 --- a/app/srv/ws/sync/editor/code/build.ts +++ b/app/srv/ws/sync/editor/code/build.ts @@ -20,9 +20,7 @@ export const codeBuild = async (code: DBCode) => { entryPoints: ["index.tsx"], bundle: true, format: "cjs", - outfile: dir.path( - `${g.datadir}/site/build/${id_code}/index.js` - ), + outfile: dir.path(`${g.datadir}/site/build/${id_code}/index.js`), minify: true, treeShaking: true, sourcemap: true, diff --git a/app/web/src/render/ed/logic/ed-global.ts b/app/web/src/render/ed/logic/ed-global.ts index 0789958f..bbbf7716 100644 --- a/app/web/src/render/ed/logic/ed-global.ts +++ b/app/web/src/render/ed/logic/ed-global.ts @@ -112,7 +112,7 @@ export const EDGlobal = { popup: { code: { init: false, - open: false, + open: false, id: "", name: "site", log: "", diff --git a/app/web/src/render/ed/panel/popup/api/api-domain.tsx b/app/web/src/render/ed/panel/popup/api/api-domain.tsx index 992c0d41..aef33f61 100644 --- a/app/web/src/render/ed/panel/popup/api/api-domain.tsx +++ b/app/web/src/render/ed/panel/popup/api/api-domain.tsx @@ -8,11 +8,11 @@ export const EdApiDomain = ({ domains }: { domains: string[] }) => { const api = apiRef[apiUrl(p)]; return ( -