Skip to content
This repository has been archived by the owner on Oct 29, 2019. It is now read-only.

switch from start:prod to launch scripts based on NODE_ENV #115

Open
Eoksni opened this issue Sep 18, 2017 · 0 comments
Open

switch from start:prod to launch scripts based on NODE_ENV #115

Eoksni opened this issue Sep 18, 2017 · 0 comments

Comments

@Eoksni
Copy link
Member

Eoksni commented Sep 18, 2017

Having separate prod scripts pollute package.json s and are error prone - it is theoretically possible to run prod script in dev environment and vice versa.
Better solution is to have certain launch script which checks what is the current environment and executes according command.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant