Skip to content
Snippets Groups Projects
Commit 390c277c authored by michael.minelli's avatar michael.minelli
Browse files

Package => Copy assets in dist folder on build

parent 0d74662d
Branches
Tags
No related merge requests found
......@@ -7,7 +7,7 @@
"main" : "app.js",
"scripts" : {
"clean" : "rm -R dist/*",
"build" : "npx prisma generate && npx tsc --project ./",
"build" : "npx prisma generate && npx tsc --project ./ && cp -R assets dist/assets",
"database:migrate" : "npx prisma migrate deploy",
"database:seed" : "npx prisma db seed",
"database:deploy" : "npm run database:migrate && npm run database:seed",
......
......@@ -20,5 +20,6 @@
"prisma/seed.ts"
],
"exclude" : [
"assets/**/*"
]
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment