made recursive

trunk
Jahnertz 2023-05-21 22:03:32 +10:00
parent 8dba373c8d
commit 419e41beca
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
const fs = require('fs');
fs.cp('src/index.html','build/index.html', (err) => {
fs.cp('./src/','./build', { recursive: true }, (err) => {
if (err) throw err;
console.log('Build was successful!');
});