From c40c14a4817758f519ad56cb1c0d4316b8b76ee3 Mon Sep 17 00:00:00 2001 From: Nemo D'ACREMONT Date: Fri, 25 Oct 2024 18:52:06 +0200 Subject: [PATCH] feat: copy the templates folder to dist when compiling --- back-end/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/back-end/package.json b/back-end/package.json index 7c8cdf5..52aae97 100644 --- a/back-end/package.json +++ b/back-end/package.json @@ -5,7 +5,7 @@ "scripts": { "startonly": "node dist/app.js", "start": "tsc && node dist/app.js", - "build": "tsc", + "build": "tsc && cp -r src/templates dist", "test": "echo \"Error: no test specified\" && exit 1" }, "keywords": [],