From d507348e3006e1020d80f6e13ce7ac0919dbfb80 Mon Sep 17 00:00:00 2001 From: Tom Gallacher Date: Fri, 6 Jan 2017 15:32:38 +0000 Subject: [PATCH] Frontend deployment will now run correctly --- frontend/Makefile | 4 ++-- frontend/package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/Makefile b/frontend/Makefile index 5637a763..f7f2cfda 100644 --- a/frontend/Makefile +++ b/frontend/Makefile @@ -6,8 +6,8 @@ NYC := $(bindir)/nyc UI := $(shell pwd)/../ui .PHONY: install-production -install-production: - yarn install --prefer-offline +install-production: compile + yarn install --production --prefer-offline .PHONY: install install: diff --git a/frontend/package.json b/frontend/package.json index 96129c7d..7df85961 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -3,7 +3,7 @@ "version": "1.0.0", "private": true, "license": "private", - "main": "src/index.js", + "main": "server/index.js", "directories": { "test": "test", "lib": "src"