feat: copy static files on build
This commit is contained in:
parent
dc68a07a1b
commit
c54ad9aefa
@ -5,7 +5,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"startonly": "node dist/app.js",
|
"startonly": "node dist/app.js",
|
||||||
"start": "npm run build && 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"
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||||||
},
|
},
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user