From 893734dff91bc4210dcea422e8146a5644168a33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Sat, 12 May 2018 12:06:45 +0200 Subject: [PATCH] Update makefile to use npm commands MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 680fb2b77..30a06e773 100644 --- a/Makefile +++ b/Makefile @@ -26,10 +26,13 @@ install-deps: build: build-js build-js: install-deps - cd js && ./node_modules/.bin/webpack --config webpack.prod.config.js + cd js && npm run build + +build-js-dev: install-deps + cd js && npm run dev watch: - cd js && ./node_modules/.bin/webpack --config webpack.dev.config.js --watch + cd js && npm run watch # appstore: clean install-deps appstore: clean-build build