set node_env in windows
cross-env NODE_ENV=production my-command
set node_env in windows
cross-env NODE_ENV=production my-command
set node process production
{
...
"scripts": {
"start": "NODE_ENV=production node ./app"
}
...
}
set node_env in windows
set NODE_ENV=production
set node process production
plugins: [
new webpack.DefinePlugin({
'process.env.NODE_ENV': '"production"',
})
]
set NODE_ENV
export NODE_ENV=development
set NODE_ENV
SET NODE_ENV=development
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us