fix lbry.tv on edge

This commit is contained in:
Sean Yesmunt 2019-11-21 12:38:15 -05:00
parent 9f88b3d3f7
commit ab5f7592ad
2 changed files with 2 additions and 0 deletions

View file

@ -4,6 +4,7 @@ module.exports = api => {
return { return {
presets: ['@babel/env', '@babel/react', '@babel/flow'], presets: ['@babel/env', '@babel/react', '@babel/flow'],
plugins: [ plugins: [
'@babel/plugin-proposal-object-rest-spread',
'@babel/plugin-syntax-dynamic-import', '@babel/plugin-syntax-dynamic-import',
'import-glob', 'import-glob',
'@babel/plugin-transform-runtime', '@babel/plugin-transform-runtime',

View file

@ -56,6 +56,7 @@
"@babel/core": "^7.0.0", "@babel/core": "^7.0.0",
"@babel/plugin-proposal-class-properties": "^7.0.0", "@babel/plugin-proposal-class-properties": "^7.0.0",
"@babel/plugin-proposal-decorators": "^7.3.0", "@babel/plugin-proposal-decorators": "^7.3.0",
"@babel/plugin-proposal-object-rest-spread": "^7.6.2",
"@babel/plugin-syntax-dynamic-import": "^7.2.0", "@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/plugin-transform-flow-strip-types": "^7.2.3", "@babel/plugin-transform-flow-strip-types": "^7.2.3",
"@babel/plugin-transform-runtime": "^7.4.3", "@babel/plugin-transform-runtime": "^7.4.3",