1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-29 07:16:36 +01:00
metamask-extension/test/setup.js
Mark Stacey 6a0dbcdb31
Upgrade to Babel 7 (#6942)
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.
2019-08-02 13:17:20 -02:30

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: {} }