Simple conetent + restyled
This commit is contained in:
@@ -4,8 +4,9 @@
|
||||
// URLs, mailto:, data: and pure-#fragment links are out of scope.
|
||||
import { readdirSync, readFileSync, existsSync, statSync } from 'node:fs';
|
||||
import { join } from 'node:path';
|
||||
import { fileURLToPath } from 'node:url';
|
||||
|
||||
const DIST = new URL('../dist', import.meta.url).pathname;
|
||||
const DIST = fileURLToPath(new URL('../dist', import.meta.url));
|
||||
if (!existsSync(DIST)) { console.error('dist/ not found — run `npm run build` first'); process.exit(1); }
|
||||
|
||||
const htmlFiles = [];
|
||||
|
||||
Reference in New Issue
Block a user