Skip to content

Commit

Permalink
♻️ Change static -> assets
Browse files Browse the repository at this point in the history
  • Loading branch information
AnandChowdhary committed Jan 24, 2021
1 parent 03d500e commit f99f965
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions post-process.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ export const postProcess = async () => {
await remove(join(".", "__sapper__", "export", baseUrl));
}

if (pathExists(join(".", "static")))
await copy(join(".", "static"), join("__sapper__", "export"), { recursive: true });
if (pathExists(join(".", "assets")))
await copy(join(".", "assets"), join("__sapper__", "export"), { recursive: true });

if (config["status-website"] && config["status-website"].cname)
await writeFile(join(".", "__sapper__", "export", "CNAME"), config["status-website"].cname);
Expand Down

0 comments on commit f99f965

Please sign in to comment.