mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
3b30984ce5
* Fix "app-init" injection The way we were injecting variables into the `app-init.js` bundle was accidentally overwriting the bundle output with the raw `app-init.js` source file. This is a problem because the bundling process handles a lot of things we care about like source maps, polyfills and other necessary Babel transformations, environment variable injection, and minification. Instead of using string replacement to inject variables, we are now using environment variables. The old string replacement strategy has been removed, and the `app-init.js` module is now generated using the same process as our other bundles. A new option, "extraEnvironmentVariables", was added to allow us to inject environment variables specifically for this bundle. * Add check to ensure APPLY_LAVAMOAT is set |
||
---|---|---|
.. | ||
account-import-strategies | ||
constants | ||
controllers | ||
lib | ||
migrations | ||
platforms | ||
app-init.js | ||
background.js | ||
contentscript.js | ||
detect-multiple-instances.js | ||
detect-multiple-instances.test.js | ||
disable-console.js | ||
first-time-state.js | ||
init-globals.js | ||
inpage.js | ||
lockdown-more.js | ||
lockdown-run.js | ||
metamask-controller.js | ||
metamask-controller.test.js | ||
sentry-install.js | ||
ui.js |