mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
docs: remove node-sass, gh-pages config
This commit is contained in:
parent
0b89a229d2
commit
5ac29b52d5
5 changed files with 47 additions and 725 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue