From 2174f749baa53b5ff33c5cdf80af5309e76f71bd Mon Sep 17 00:00:00 2001 From: Nilay Majorwar Date: Sat, 19 Feb 2022 22:35:59 +0530 Subject: [PATCH] Add worker build subcommand to build command --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 2fe2ea9..8836816 100644 --- a/package.json +++ b/package.json @@ -3,10 +3,10 @@ "private": true, "scripts": { "dev": "next dev", - "build": "next build", "start": "next start", "lint": "next lint", "test": "jest", + "build": "yarn run build:worker && next build", "dev:worker": "webpack -c worker-pack/webpack.dev.js --watch", "build:worker": "webpack -c worker-pack/webpack.prod.js", "add-new-language": "node scripts/add-new-language.js"