Skip to content

Commit ecb6fce

Browse files
committed
Update build script to copy public directory to dist after build
- Modified the build script in package.json to include a command that copies the public directory to the dist folder, ensuring that static assets are available in the production build.
1 parent 5be1c7c commit ecb6fce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"type": "module",
55
"scripts": {
66
"dev": "tsx watch src/index.ts",
7-
"build": "tsup",
7+
"build": "tsup && cp -r public dist/",
88
"start": "node dist/index.js",
99
"db:generate": "drizzle-kit generate",
1010
"db:migrate": "drizzle-kit migrate",

0 commit comments

Comments
 (0)