fix: checking process.env.NODE_ENV #2492
|
@ -1,3 +1,3 @@
|
||||||
module.exports = (localAsProduction = true) => {
|
module.exports = (localAsProduction = true) => {
|
||||||
if ((!process.env.NODE_ENV && localAsProduction) || process.env.NODE_ENV == 'production') return true;
|
return (!process.env.NODE_ENV && localAsProduction) || process.env.NODE_ENV == 'production';
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue