Skip to content

Commit

Permalink
fix(env): define NODE_ENV
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Chau committed Apr 18, 2019
1 parent 753c639 commit 9ba561e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@nodepack/service/src/util/resolveClientEnv.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const prefixRE = /^NODE_APP_/
module.exports = function resolveClientEnv (options, raw = false) {
const env = {}
Object.keys(process.env).forEach(key => {
if (prefixRE.test(key)) {
if (prefixRE.test(key) || key === 'NODE_ENV') {
env[key] = process.env[key]
}
})
Expand Down

0 comments on commit 9ba561e

Please sign in to comment.