1
0
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:
Frederik Bolding 2023-04-21 14:18:15 +02:00 committed by GitHub
parent 4f4e9fb29c
commit b9b1b19174
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -889,17 +889,6 @@ function setupBundlerDefaults(
// Run TypeScript files through Babel
{ 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
brfs,
],