1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-23 02:10:12 +01:00
metamask-extension/development/build
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
..
display.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
etc.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
index.js Add Lavamoat to build system (#9939) 2021-02-22 22:43:29 +08:00
manifest.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
sass-compiler.js Add Lavamoat to build system (#9939) 2021-02-22 22:43:29 +08:00
scripts.js Excluding sourcemaps comment in production builds (#10695) 2021-03-22 19:41:23 -07:00
static.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
styles.js Reduce build warnings related to Sass (#10494) 2021-02-23 13:04:14 -03:30
task.js Add Lavamoat to build system (#9939) 2021-02-22 22:43:29 +08:00