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" },