mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +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
|
@ -6,9 +6,8 @@
|
|||
"dev:svite": "svite",
|
||||
"build": "run-s build:*",
|
||||
"build:routify": "routify run -b",
|
||||
"build:svite": "svite build --assetsDir=assets",
|
||||
"postbuild": "node scripts/postbuild",
|
||||
"deploy": "npx gh-pages -d dist"
|
||||
"build:svite": "svite build",
|
||||
"postbuild": "node scripts/postbuild"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@sveltech/routify": "^1.9.9",
|
||||
|
@ -16,7 +15,6 @@
|
|||
"clipboard-copy": "^3.1.0",
|
||||
"fs-extra": "^9.0.1",
|
||||
"mdsvex": "^0.8.8",
|
||||
"node-sass": "^4.14.1",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"playwright": "^1.4.2",
|
||||
"polka": "^0.5.2",
|
||||
|
|
|
@ -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);
|
||||
|
|
713
docs/yarn.lock
713
docs/yarn.lock
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue