fix broken build

pull/1370/head
konnorrogers 2023-06-13 12:19:11 -04:00
rodzic 7404e496cb
commit 616a10bffa
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -10,6 +10,7 @@ import fs from 'fs/promises';
import getPort, { portNumbers } from 'get-port';
import ora from 'ora';
import util from 'util';
import * as path from "path"
const { serve } = commandLineArgs([{ name: 'serve', type: Boolean }]);
const outdir = 'dist';
@ -207,7 +208,7 @@ await nextTask(`Copying the build to "${sitedir}"`, async () => {
await deleteAsync(sitedir);
// We copy the CDN build because that has everything bundled.
await copy(cdndir, sitedir);
await copy(cdndir, path.join(sitedir, "cdn"));
});
// Launch the dev server