diff --git a/lbrytv/webpack.config.js b/lbrytv/webpack.config.js index a987f442f..307949fc1 100644 --- a/lbrytv/webpack.config.js +++ b/lbrytv/webpack.config.js @@ -93,6 +93,7 @@ const webConfig = { modules: [UI_ROOT, __dirname], alias: { + lbryinc: 'lbryinc/dist/bundle.es.js', electron: `${WEB_PLATFORM_ROOT}/stubs/electron.js`, fs: `${WEB_PLATFORM_ROOT}/stubs/fs.js`, }, diff --git a/package.json b/package.json index 3e5991baf..b39880075 100644 --- a/package.json +++ b/package.json @@ -131,7 +131,7 @@ "json-loader": "^0.5.4", "lbry-format": "https://github.com/lbryio/lbry-format.git", "lbry-redux": "lbryio/lbry-redux#db0f48b56f80d556b7774f0a70d32d16f07ccdcc", - "lbryinc": "lbryio/lbryinc#9a10db36d3854dc50fbde1d73ffca63d0425f9f1", + "lbryinc": "lbryio/lbryinc#e2bba80797e412f17d092b0964ff252a337bdbd2", "lint-staged": "^7.0.2", "localforage": "^1.7.1", "lodash-es": "^4.17.14", diff --git a/ui/util/lbrytv.js b/ui/util/lbrytv.js index 6163a17ed..24ba80717 100644 --- a/ui/util/lbrytv.js +++ b/ui/util/lbrytv.js @@ -1,4 +1,4 @@ -const { Lbryio } = require('lbryinc'); +const { Lbryio } = require('lbryinc/dist/bundle.es.js'); const { URL, LBRY_TV_STREAMING_API } = require('../../config'); const { getCookie, setCookie } = require('../../ui/util/saved-passwords'); diff --git a/webpack.base.config.js b/webpack.base.config.js index a99ec0063..6f8d43030 100644 --- a/webpack.base.config.js +++ b/webpack.base.config.js @@ -64,6 +64,7 @@ let baseConfig = { extensions: ['.js', '.jsx', '.json', '.scss'], alias: { config: path.resolve(__dirname, './config.js'), + lbryinc: 'lbryinc/dist/bundle.es.js', // Build optimizations for 'redux-persist-transform-filter' 'redux-persist-transform-filter': 'redux-persist-transform-filter/index.js', 'lodash.get': 'lodash-es/get', diff --git a/yarn.lock b/yarn.lock index e505455f3..f2d456410 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6146,9 +6146,9 @@ lbry-redux@lbryio/lbry-redux#db0f48b56f80d556b7774f0a70d32d16f07ccdcc: reselect "^3.0.0" uuid "^3.3.2" -lbryinc@lbryio/lbryinc#9a10db36d3854dc50fbde1d73ffca63d0425f9f1: +lbryinc@lbryio/lbryinc#e2bba80797e412f17d092b0964ff252a337bdbd2: version "0.0.1" - resolved "https://codeload.github.com/lbryio/lbryinc/tar.gz/9a10db36d3854dc50fbde1d73ffca63d0425f9f1" + resolved "https://codeload.github.com/lbryio/lbryinc/tar.gz/e2bba80797e412f17d092b0964ff252a337bdbd2" dependencies: reselect "^3.0.0"