Skip to content

Commit 6344432

Browse files
authored
Add command to serve production build (#352)
I use this command to debug a production build more quickly
1 parent aec05d7 commit 6344432

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"build:solcjs-worker": "npx -y browserify -t babelify ./babel/solcWorker2.js > ./public/solcWorker.js",
1010
"dev": "pnpm run build:solcjs-worker && next dev",
1111
"format": "prettier --write --cache .",
12+
"serve": "pnpm run build && next start",
1213
"preinstall": "git submodule update --init",
1314
"postinstall": "./setup_monorepo.sh",
1415
"lint": "eslint --ext js,jsx,ts,tsx .",

0 commit comments

Comments
 (0)