From 419e41beca44317ba19ff90079a35da77802b6bb Mon Sep 17 00:00:00 2001 From: Jahnertz Date: Sun, 21 May 2023 22:03:32 +1000 Subject: [PATCH] made recursive --- build.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.js b/build.js index 88d5f90..a55536d 100644 --- a/build.js +++ b/build.js @@ -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!'); });