mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 04:09:12 +00:00
oh no where did astro go
This commit is contained in:
15
scripts/docs.js
Normal file
15
scripts/docs.js
Normal file
@@ -0,0 +1,15 @@
|
||||
import { deleteAsync } from 'del';
|
||||
import { docsDir, siteDir } from './utils.js';
|
||||
import { join } from 'path';
|
||||
import Eleventy from '@11ty/eleventy';
|
||||
|
||||
const elev = new Eleventy(docsDir, siteDir, {
|
||||
quietMode: true,
|
||||
configPath: join(docsDir, '.eleventy.js')
|
||||
});
|
||||
|
||||
// Cleanup
|
||||
await deleteAsync(siteDir);
|
||||
|
||||
// Write it
|
||||
await elev.write();
|
||||
Reference in New Issue
Block a user