made recursive
parent
8dba373c8d
commit
419e41beca
2
build.js
2
build.js
|
@ -1,6 +1,6 @@
|
||||||
const fs = require('fs');
|
const fs = require('fs');
|
||||||
|
|
||||||
fs.cp('src/index.html','build/index.html', (err) => {
|
fs.cp('./src/','./build', { recursive: true }, (err) => {
|
||||||
if (err) throw err;
|
if (err) throw err;
|
||||||
console.log('Build was successful!');
|
console.log('Build was successful!');
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue