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
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
"main" : "app.js", "main" : "app.js",
"scripts" : { "scripts" : {
"clean" : "rm -R dist/*", "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:migrate" : "npx prisma migrate deploy",
"database:seed" : "npx prisma db seed", "database:seed" : "npx prisma db seed",
"database:deploy" : "npm run database:migrate && npm run database:seed", "database:deploy" : "npm run database:migrate && npm run database:seed",
......
...@@ -20,5 +20,6 @@ ...@@ -20,5 +20,6 @@
"prisma/seed.ts" "prisma/seed.ts"
], ],
"exclude" : [ "exclude" : [
"assets/**/*"
] ]
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment