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

17 lines
278 B
Makefile
Raw Normal View History

2018-09-20 16:44:46 +00:00
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
2018-09-20 16:50:15 +00:00
.PHONY: start
start: dev
2018-09-23 19:52:29 +00:00
node dist/bundle.js