import { Writer } from "https://deno.land/x/lume@v1.15.3/core.ts";
Class to write the generated pages and static files in the dest folder.
Methods
clear()
Empty the dest folder
copyFile(file: StaticFile): Promise<boolean>
Copy a static file in the dest folder Returns a boolean indicating if the file has saved
copyFiles(files: StaticFile[]): Promise<StaticFile[]>
Copy the static files in the dest folder
savePage(page: Page): Promise<boolean>
Save a page in the dest folder Returns a boolean indicating if the page has saved
savePages(pages: Page[]): Promise<Page[]>
Save the pages in the dest folder Returns an array of pages that have been saved