diff --git a/.env.proding.lmel b/.env.proding.lmel new file mode 100644 index 000000000..ef55f940e --- /dev/null +++ b/.env.proding.lmel @@ -0,0 +1,2 @@ +CHROME_EXTENSION_ID=dckgogglpeojhbnpgooenkklhibdmebn +FIREFOX_EXTENSION_ID={xxx} diff --git a/.env.production.lmel b/.env.production.lmel new file mode 100644 index 000000000..d336ee893 --- /dev/null +++ b/.env.production.lmel @@ -0,0 +1,2 @@ +CHROME_EXTENSION_ID=heoimefmbpfjhpiepkomlkijgmlappko +FIREFOX_EXTENSION_ID={xxx} diff --git a/.env.staging.lmel b/.env.staging.lmel new file mode 100644 index 000000000..248500995 --- /dev/null +++ b/.env.staging.lmel @@ -0,0 +1,2 @@ +CHROME_EXTENSION_ID=dhkphghnepognepapelplhfegpcboaeb +FIREFOX_EXTENSION_ID={xxx} diff --git a/loadEnv.js b/loadEnv.js index c0d3e58fb..7bc6405fe 100644 --- a/loadEnv.js +++ b/loadEnv.js @@ -7,10 +7,10 @@ function loadEnv({ path, encoding, debug }) { const FACET = process.env.FACET || 'dismoi'; const dotenvFiles = [ - `.env.${FACET}`, `.env.${NODE_ENV}.${FACET}.local`, `.env.${NODE_ENV}.local`, `.env.${NODE_ENV}.${FACET}`, + `.env.${FACET}`, `.env.${NODE_ENV}`, // Don't include `.env.local` for `test` environment // since normally you expect tests to produce the same