Commit 08965008 authored by Tim Phillips's avatar Tim Phillips Committed by Tim Neutkens

Prevent now-env from running in production (#4259)

parent 02bcfb21
......@@ -2,7 +2,9 @@ const webpack = require('webpack')
/**
* After the next require you can use process.env to get your secrets
*/
require('now-env')
if (process.env.NODE_ENV !== 'production') {
require('now-env')
}
console.log({
SECRET: process.env.SECRET,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment