mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-29 07:16:36 +01:00
6a0dbcdb31
Babel 7 moved to a new configuration format, and they've scoped all of their packages under `@babel/`. This brings MetaMask in-line with dependencies we use that _already_ use Babel 7, and it eliminates a few unfortunate edge cases that can prevent dependencies from being correctly transpiled.
8 lines
203 B
JavaScript
8 lines
203 B
JavaScript
require('@babel/register')({
|
|
ignore: [name => name.includes('node_modules') && !name.includes('obs-store')],
|
|
})
|
|
|
|
require('./helper')
|
|
|
|
window.SVGPathElement = window.SVGPathElement || { prototype: {} }
|