chore(v2): upgrade to Babel 7 (#1012)

* Upgrade babel in v2 folder

* Use babel-plugin-transform-dynamic-import instead of babel-plugin-dynamic-import-node

* Remove not needed import polyfill by changing the order of import

* Revert "Remove not needed import polyfill by changing the order of import"

This reverts commit 9263aa693a.

* Fix prettier
This commit is contained in:
Fienny Angelina 2018-10-08 14:42:31 +08:00 committed by Endilie Yacop Sucipto
parent 2e9656917c
commit d052feec40
12 changed files with 727 additions and 472 deletions

3
v2/jest.transform.js Normal file
View file

@ -0,0 +1,3 @@
const babelConfig = require('./babel.config');
module.exports = require('babel-jest').createTransformer(babelConfig);