Add worker build subcommand to build command
This commit is contained in:
parent
61d2a5f241
commit
2174f749ba
@ -3,10 +3,10 @@
|
|||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next dev",
|
"dev": "next dev",
|
||||||
"build": "next build",
|
|
||||||
"start": "next start",
|
"start": "next start",
|
||||||
"lint": "next lint",
|
"lint": "next lint",
|
||||||
"test": "jest",
|
"test": "jest",
|
||||||
|
"build": "yarn run build:worker && next build",
|
||||||
"dev:worker": "webpack -c worker-pack/webpack.dev.js --watch",
|
"dev:worker": "webpack -c worker-pack/webpack.dev.js --watch",
|
||||||
"build:worker": "webpack -c worker-pack/webpack.prod.js",
|
"build:worker": "webpack -c worker-pack/webpack.prod.js",
|
||||||
"add-new-language": "node scripts/add-new-language.js"
|
"add-new-language": "node scripts/add-new-language.js"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user