mirror of
https://github.com/LukeHagar/website.git
synced 2025-12-09 12:57:48 +00:00
chore: optimize assets
This commit is contained in:
12
scripts/build.js
Normal file
12
scripts/build.js
Normal file
@@ -0,0 +1,12 @@
|
||||
import { fileURLToPath } from 'url';
|
||||
import { build } from 'vite';
|
||||
import { downloadContributors } from './download-contributor-data.js';
|
||||
|
||||
const __dirname = fileURLToPath(new URL('.', import.meta.url));
|
||||
|
||||
async function main() {
|
||||
await downloadContributors();
|
||||
await build();
|
||||
}
|
||||
|
||||
main();
|
||||
Reference in New Issue
Block a user