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"