mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 09:57:02 +01:00
Remove unused environment variables (#10234)
The environment variables `METAMETRICS_PROJECT_ID` and `ETH_GAS_STATION_API_KEY` were still being injected into the JavaScript build, despite being unused. The MetaMetrics project ID was made obsolete in #9646, and the ETH Gas Station API key was made obsolete in PR #9867
This commit is contained in:
parent
183cc154fa
commit
f6388f260b
@ -375,12 +375,10 @@ function createScriptTasks({ browserPlatforms, livereload }) {
|
||||
METAMASK_DEBUG: opts.devMode,
|
||||
METAMASK_ENVIRONMENT: environment,
|
||||
METAMASK_VERSION: baseManifest.version,
|
||||
METAMETRICS_PROJECT_ID: process.env.METAMETRICS_PROJECT_ID,
|
||||
NODE_ENV: opts.devMode ? 'development' : 'production',
|
||||
IN_TEST: opts.testing ? 'true' : false,
|
||||
PUBNUB_SUB_KEY: process.env.PUBNUB_SUB_KEY || '',
|
||||
PUBNUB_PUB_KEY: process.env.PUBNUB_PUB_KEY || '',
|
||||
ETH_GAS_STATION_API_KEY: process.env.ETH_GAS_STATION_API_KEY || '',
|
||||
CONF: opts.devMode ? conf : {},
|
||||
SENTRY_DSN: process.env.SENTRY_DSN,
|
||||
INFURA_PROJECT_ID: opts.testing
|
||||
|
Loading…
Reference in New Issue
Block a user