docs: remove node-sass, gh-pages config

This commit is contained in:
Eric Liu 2020-10-04 11:33:41 -07:00
commit 5ac29b52d5
5 changed files with 47 additions and 725 deletions

View file

@ -30,7 +30,7 @@ async function processHtml(html, { dir, outfilePath }) {
);
}
console.log("Prerendered:", outfilePath);
console.log("Prerendered path:", outfilePath);
}
const app = polka()
@ -102,16 +102,6 @@ const app = polka()
const __index = await scrape(page);
await processHtml(__index, { outfilePath: `${OUT_DIR}/index.html` });
await fs.writeFile(
path.join(OUT_DIR, "_config.yml"),
`include:
- _.js
- _*.js
- assets
- assets/*_.js
- assets/*.js`
);
await browser.close();
await app.server.close();
process.exit(0);