From e56dabe9d5613e4647bc2a621bd45f168f4aec95 Mon Sep 17 00:00:00 2001 From: Tom Gallacher Date: Thu, 8 Dec 2016 12:47:09 +0000 Subject: [PATCH] Move build target from npm to makefile --- ui/Makefile | 2 +- ui/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/Makefile b/ui/Makefile index 2f31d8a3..04ecf876 100644 --- a/ui/Makefile +++ b/ui/Makefile @@ -40,7 +40,7 @@ install-production: compile clean .PHONY: compile compile: install - $(bindir)/webpack --config webpack/index.js + $(bindir)/babel src --out-dir dist --source-maps inline .PHONY: build build: diff --git a/ui/package.json b/ui/package.json index bc5fd0fc..8ec67f78 100644 --- a/ui/package.json +++ b/ui/package.json @@ -8,7 +8,7 @@ "start": "cd docs && npm start", "lint": "make lint", "test": "make test", - "build": "babel src --out-dir dist --source-maps inline", + "build": "make compile", "storybook": "start-storybook -p 6006", "build-storybook": "build-storybook" },