diff --git a/Makefile b/Makefile index 6f7140c..52ffc99 100644 --- a/Makefile +++ b/Makefile @@ -31,7 +31,7 @@ watch: ## watch .PHONY: web web: ## web - npm run build --prefix web/ + npm run build-all --prefix web/ .PHONY: webwatch webwatch: ## webwatch diff --git a/web/package.json b/web/package.json index 1f5a2c8..cad3fde 100644 --- a/web/package.json +++ b/web/package.json @@ -6,6 +6,7 @@ "scripts": { "build-vendor": "webpack --config webpack.vendor.config --mode='production'", "build": "webpack --config webpack.config.js --mode='production'", + "build-all": "npm run build-vendor && npm run build", "watch": "npm run build-vendor && webpack --watch --config webpack.config.js --mode='development'" }, "repository": {