feat: copy the templates folder to dist when compiling

This commit is contained in:
Nemo D'ACREMONT 2024-10-25 18:52:06 +02:00
parent 7f2b5b6964
commit c40c14a481
No known key found for this signature in database
GPG Key ID: 6E5BCE8022FA8276

View File

@ -5,7 +5,7 @@
"scripts": { "scripts": {
"startonly": "node dist/app.js", "startonly": "node dist/app.js",
"start": "tsc && 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" "test": "echo \"Error: no test specified\" && exit 1"
}, },
"keywords": [], "keywords": [],