fix broken build (#1370)

* fix broken build

* prettier
pull/1372/head
Konnor Rogers 2023-06-13 12:30:32 -04:00 zatwierdzone przez GitHub
rodzic 4c854d64a7
commit aadcb486a9
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
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';
@ -212,7 +213,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