Commit 42d98a84 authored by Neil Flatley's avatar Neil Flatley
Browse files

fix: default .env file is defaulting to a .env.dev or .env.development file as...

fix: default .env file is defaulting to a .env.dev or .env.development file as per package code, set empty string to override package behaviour and favour our default .env file when loading without supplying env args
parent 8087b3e4
Pipeline #109997 passed with stages
in 12 minutes and 40 seconds
const packagejson = require('../package.json');
const { urls } = require('@zengenti/contensis-react-base/util');
require('custom-env').env(process.env.env || process.env.npm_config_env);
require('custom-env').env(process.env.env || process.env.npm_config_env || '');
const {
PUBLIC_URL,
......
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