actually fix lbry.tv on edge

This commit is contained in:
Sean 2019-11-21 16:48:19 -05:00 committed by Sean Yesmunt
parent ab5f7592ad
commit dc974419ba
2 changed files with 3 additions and 2 deletions

View file

@ -38,6 +38,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-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",
"@babel/polyfill": "^7.2.5", "@babel/polyfill": "^7.2.5",

View file

@ -28,9 +28,9 @@ const webConfig = {
{ {
loader: 'babel-loader', loader: 'babel-loader',
test: /\.jsx?$/, test: /\.jsx?$/,
exclude: /node_modules/,
options: { options: {
rootMode: 'upward', presets: ['@babel/env', '@babel/react', '@babel/flow'],
plugins: ['@babel/plugin-proposal-object-rest-spread', '@babel/plugin-proposal-class-properties'],
}, },
}, },
{ {