This repository has been archived on 2022-03-12. You can view files and clone it, but cannot push or open issues or pull requests.
Lateinicus/backend/Makefile
2018-09-21 16:27:25 +02:00

17 lines
288 B
Makefile

node_modules:
npm install
WEBPACK_BUILD := ./node_modules/.bin/webpack-cli --config webpack.config.js
.PHONY: prod
prod:
${WEBPACK_BUILD} --env.NODE_ENV=production
.PHONY: dev
dev:
${WEBPACK_BUILD} --env.NODE_ENV=development
.PHONY: start
start: dev
node dist/backend/src/main.js