indev-inprod
v1.0.0
Published
run specified codes in either production or development mode.
Downloads
1
Readme
define NODE_ENV in your .env file to be either 'production' or 'development'
inDev(()=>{
//your codes here, will only work in development mode or default
})
inProd(()=>{
//your codes here, will only work in production mode
})