mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 09:57:02 +01:00
Stop transpiling ES2020 libraries (#18713)
This commit is contained in:
parent
4f4e9fb29c
commit
b9b1b19174
@ -889,17 +889,6 @@ function setupBundlerDefaults(
|
|||||||
// Run TypeScript files through Babel
|
// Run TypeScript files through Babel
|
||||||
{ extensions },
|
{ extensions },
|
||||||
],
|
],
|
||||||
// Transpile libraries that use ES2020 unsupported by Chrome v78
|
|
||||||
[
|
|
||||||
babelify,
|
|
||||||
{
|
|
||||||
only: [
|
|
||||||
'./**/node_modules/@ethereumjs/util',
|
|
||||||
'./**/node_modules/superstruct',
|
|
||||||
],
|
|
||||||
global: true,
|
|
||||||
},
|
|
||||||
],
|
|
||||||
// Inline `fs.readFileSync` files
|
// Inline `fs.readFileSync` files
|
||||||
brfs,
|
brfs,
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user