Skip to content

Commit

Permalink
Implement a 'serve:prod' script
Browse files Browse the repository at this point in the history
Implements a 'serve:prod' script, allowing devs to
build and test CoursePlan locally for production.
  • Loading branch information
zachary-kent committed Aug 27, 2023
1 parent 967b515 commit bf948dc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"private": true,
"scripts": {
"serve": "vite",
"serve:prod": "vite --mode production",
"build": "vite build --mode production",
"build:dev": "vite build --mode development",
"serve:build": "serve --listen 8080 --single dist",
Expand Down Expand Up @@ -99,4 +100,4 @@
"not dead"
],
"license": "AGPL-3.0"
}
}

0 comments on commit bf948dc

Please sign in to comment.