feat: copy static files on build

This commit is contained in:
Nemo D'ACREMONT 2024-11-17 09:20:42 +01:00
parent dc68a07a1b
commit c54ad9aefa
No known key found for this signature in database
GPG Key ID: 6E5BCE8022FA8276

View File

@ -5,7 +5,7 @@
"scripts": {
"startonly": "node dist/app.js",
"start": "npm run build && node dist/app.js",
"build": "tsc && cp -r src/templates dist",
"build": "tsc && cp -r src/templates dist && cp -r src/static dist",
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],