seconf
This commit is contained in:
1 parent
ae2c99d71a
commit
846054b7b9
25 files changed
+2513
-148
No files matched your search
@@ -1,4 +1,7 @@
|
||||
import { mkdir, copyFile } from 'node:fs/promises';
|
||||
import { writeFile } from 'node:fs/promises';
|
||||
import { compileContent } from './content.mjs';
|
||||
await writeFile(new URL('../content.js', import.meta.url), await compileContent());
|
||||
await mkdir('dist', { recursive: true });
|
||||
for (const file of ['index.html', 'styles.css', 'app.js', 'content.js', 'favicon.svg']) {
|
||||
await copyFile(file, `dist/${file}`);
|
||||
|
||||
Reference in new issue
Block a user