diff --git a/_scripts/webpack.web.config.js b/_scripts/webpack.web.config.js index afe6c942c37a2..aa2f3597e6916 100644 --- a/_scripts/webpack.web.config.js +++ b/_scripts/webpack.web.config.js @@ -31,7 +31,8 @@ const config = { filename: '[name].js', }, externals: { - 'youtubei.js': '{}' + 'youtubei.js': '{}', + googlevideo: '{}' }, module: { rules: [ @@ -137,7 +138,7 @@ const config = { 'process.env.SWIPER_VERSION': `'${swiperVersion}'` }), new webpack.ProvidePlugin({ - process: 'process/browser' + process: 'process/browser.js' }), new HtmlWebpackPlugin({ excludeChunks: ['processTaskWorker'], diff --git a/jsconfig.json b/jsconfig.json index 2a959e13bafe6..9f6c21afbeabe 100644 --- a/jsconfig.json +++ b/jsconfig.json @@ -3,6 +3,8 @@ "target": 3.5 }, "compilerOptions": { + "module": "esnext", + "moduleResolution": "bundler", "strictNullChecks": true, "baseUrl": "./", "paths": { diff --git a/package.json b/package.json index 77fd2da2f847c..36a5aea851d68 100644 --- a/package.json +++ b/package.json @@ -63,6 +63,7 @@ "autolinker": "^4.1.5", "bgutils-js": "^3.2.0", "electron-context-menu": "^4.1.1", + "googlevideo": "^4.0.4", "marked": "^17.0.1", "process": "^0.11.10", "shaka-player": "^4.16.10", diff --git a/src/renderer/components/ExperimentalSettings/ExperimentalSettings.vue b/src/renderer/components/ExperimentalSettings/ExperimentalSettings.vue index 1e6a2bfd73db2..b0186a9ad19c4 100644 --- a/src/renderer/components/ExperimentalSettings/ExperimentalSettings.vue +++ b/src/renderer/components/ExperimentalSettings/ExperimentalSettings.vue @@ -16,6 +16,16 @@ @change="handleRestartPrompt" /> + + +