import { mkdir, cp, rm } from 'node:fs/promises';
await rm('dist',{recursive:true,force:true});await mkdir('dist',{recursive:true});
for(const file of ['index.html','render.html','src','assets','output'])await cp(file,`dist/${file}`,{recursive:true});
console.log('Static deployment prepared in dist/');
