1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 18:00:18 +01:00
metamask-extension/development
ryanml 91e5b85955
Excluding sourcemaps comment in production builds (#10695)
* Excluding sourcemaps comment in production builds

Fixes MetaMask/metamask-extension#7077

* Fix source map explorer script

The source map explorer script now re-adds the source map comment to
each file to ensure the source map visualization still works. Each
module with a sourcemap is copied to a temporary directory along with
the module it corresponds to, and from there it's passed into
`source-map-explorer`. This should ensure the resulting visualization
matches what it was before.

Everything has been moved inside of functions to generally improve
readability, and to allow the use of local variables.

Co-authored-by: Mark Stacey <markjstacey@gmail.com>
2021-03-22 19:41:23 -07:00
..
build Excluding sourcemaps comment in production builds (#10695) 2021-03-22 19:41:23 -07:00
lib @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
announcer.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
auto-changelog.sh Add shellcheck lint (#7392) 2019-11-19 10:46:10 -05:00
create-static-server.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
generate-migration.sh Fixing migration script generation paths (#10664) 2021-03-17 12:21:46 +08:00
gource-viz.sh dev - move gource instructions from docs to development script 2019-09-10 22:05:16 +08:00
metamaskbot-build-announce.js Add Lavamoat to build system (#9939) 2021-02-22 22:43:29 +08:00
missing-locale-strings.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
mock-3box.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
mock-segment.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
README.md add READMEs to folders, re #3427 2018-03-14 15:33:22 +02:00
require-react-devtools.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
run-ganache.sh Use .sh file extension for all Bash scripts (#10499) 2021-02-23 12:56:41 -03:30
sentry-publish.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
sentry-upload-artifacts.sh Improve Sentry publish script (#7417) 2019-12-05 17:59:48 -04:00
shellcheck.sh Add lint:shellcheck:package (#7568) 2019-12-11 15:52:08 -05:00
show-deps-install-scripts.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
source-map-explorer.sh Excluding sourcemaps comment in production builds (#10695) 2021-03-22 19:41:23 -07:00
sourcemap-validator.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
static-server.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
verify-locale-strings.js Add Custom Network UI (#10310) 2021-02-22 10:20:42 -06:00

Development

Several files which are needed for developing on(!) MetaMask.

Usually each files contains information about its scope / usage.