mirror of
https://github.com/ascribe/onion.git
synced 2024-12-22 17:33:14 +01:00
Make sure polyfill is loaded first by using import statement
ES6 `import` statements hoist their imports to the top of the file. Using `require(‘babel/polyfill’)` actually loads the polyfill after the other imports, causing errors.
This commit is contained in:
parent
1b4c6938f6
commit
274f149272