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"