Add Object.assign polyfill for IE11 support, update dependencies

This commit is contained in:
Toby Zerner 2018-11-17 16:23:34 +10:30
parent 75fa22e80f
commit fe51b5faf2
3 changed files with 542 additions and 491 deletions

View File

@ -34,7 +34,8 @@ module.exports = function(options = {}) {
plugins: [
['@babel/plugin-transform-runtime', {useESModules: true}],
['@babel/plugin-proposal-class-properties'],
['@babel/plugin-transform-react-jsx', {pragma: 'm'}]
['@babel/plugin-transform-react-jsx', {pragma: 'm'}],
['@babel/plugin-transform-object-assign']
]
}
}

File diff suppressed because it is too large Load Diff

View File

@ -9,13 +9,14 @@
"webpack": "^4.0.0"
},
"dependencies": {
"@babel/core": "^7.0.0-rc.3",
"@babel/plugin-proposal-class-properties": "^7.0.0-rc.3",
"@babel/plugin-transform-react-jsx": "^7.0.0-rc.3",
"@babel/plugin-transform-runtime": "^7.0.0-rc.3",
"@babel/preset-env": "^7.0.0-rc.3",
"@babel/preset-react": "^7.0.0-rc.3",
"@babel/runtime": "^7.0.0-rc.3",
"babel-loader": "^8.0.0-beta.6"
"@babel/core": "^7.0.0",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"@babel/plugin-transform-object-assign": "^7.0.0",
"@babel/plugin-transform-react-jsx": "^7.0.0",
"@babel/plugin-transform-runtime": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@babel/runtime": "^7.0.0",
"babel-loader": "^8.0.0"
}
}