🎥 Make videos programmatically with React
remove even more stuff
Jonny Burger74d52c0aab5f
diff --git a/packages/player-example/config/webpack.config.js b/packages/player-example/config/webpack.config.jsindex f8c8350432..7c8e72b9d7 100644--- a/packages/player-example/config/webpack.config.js+++ b/packages/player-example/config/webpack.config.js@@ -462,39 +462,6 @@ module.exports = function (webpackEnv) {filename: 'static/css/[name].[contenthash:8].css',chunkFilename: 'static/css/[name].[contenthash:8].chunk.css',}),- // Generate an asset manifest file with the following content:- // - "files" key: Mapping of all asset filenames to their corresponding- // output file so that tools can pick it up without having to parse- // `index.html`- // - "entrypoints" key: Array of files which are included in `index.html`,- // can be used to reconstruct the HTML if necessary- new WebpackManifestPlugin({- fileName: 'asset-manifest.json',- publicPath: paths.publicUrlOrPath,- generate: (seed, files, entrypoints) => {- const manifestFiles = files.reduce((manifest, file) => {- manifest[file.name] = file.path;- return manifest;- }, seed);- const entrypointFiles = entrypoints.main.filter(- (fileName) => !fileName.endsWith('.map')- );-- return {- files: manifestFiles,- entrypoints: entrypointFiles,- };- },- }),- // Moment.js is an extremely popular library that bundles large locale files- // by default due to how webpack interprets its code. This is a practical- // solution that requires the user to opt into importing specific locales.- // https://github.com/jmblog/how-to-optimize-momentjs-with-webpack- // You can remove this if you don't use Moment.js:- new webpack.IgnorePlugin({- resourceRegExp: /^\.\/locale$/,- contextRegExp: /moment$/,- }),// TypeScript type checkinguseTypeScript &&new ForkTsCheckerWebpackPlugin({diff --git a/packages/player-example/package.json b/packages/player-example/package.jsonindex 9de9dd5dc5..85b00f7c2f 100644--- a/packages/player-example/package.json+++ b/packages/player-example/package.json@@ -40,12 +40,10 @@"resolve-url-loader": "^4.0.0","semver": "^7.3.5","source-map-loader": "^3.0.0",- "style-loader": "^3.3.1","terser-webpack-plugin": "^5.2.5","typescript": "^4.5.5","webpack": "^5.64.4",- "webpack-dev-server": "^4.6.0",- "webpack-manifest-plugin": "^4.0.2"+ "webpack-dev-server": "^4.6.0"},"scripts": {"lint": "eslint src --ext ts,tsx",diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 867b4250a7..18777d92b7 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -695,12 +695,10 @@ importers:resolve-url-loader: ^4.0.0semver: ^7.3.5source-map-loader: ^3.0.0- style-loader: ^3.3.1terser-webpack-plugin: ^5.2.5typescript: ^4.5.5webpack: ^5.64.4webpack-dev-server: ^4.6.0- webpack-manifest-plugin: ^4.0.2dependencies:'@babel/core': 7.17.9'@pmmmwh/react-refresh-webpack-plugin': 0.5.5_71ded90fc5f197eeccab1f0382e7a4aa@@ -734,12 +732,10 @@ importers:resolve-url-loader: 4.0.0semver: 7.3.5source-map-loader: [email protected]- style-loader: [email protected]terser-webpack-plugin: [email protected]typescript: 4.5.5webpack: 5.72.0webpack-dev-server: [email protected]- webpack-manifest-plugin: [email protected]packages/renderer:specifiers:@@ -18915,15 +18911,6 @@ packages:webpack: [email protected]dev: false- /style-loader/[email protected]:- resolution: {integrity: sha512-GPcQ+LDJbrcxHORTRes6Jy2sfvK2kS6hpSfI/fXhPt+spVzxF6LJ1dHLN9zIGmVaaP044YKaIatFaufENRiDoQ==}- engines: {node: '>= 12.13.0'}- peerDependencies:- webpack: ^5.0.0- dependencies:- webpack: 5.72.0- dev: false-/style-to-object/0.3.0:resolution: {integrity: sha512-CzFnRRXhzWIdItT3OmF8SQfWyahHhjq3HwcMNCNLn+N7klOOqPjMeG/4JSu77D7ypZdGvSzvkrbyeTMizz2VrA==}dependencies:@@ -20432,17 +20419,6 @@ packages:- utf-8-validatedev: false- /webpack-manifest-plugin/[email protected]:- resolution: {integrity: sha512-YXUAwxtfKIJIKkhg03MKuiFAD72PlrqCiwdwO4VEXdRO5V0ORCNwaOwAZawPZalCbmH9kBDmXnNeQOw+BIEiow==}- engines: {node: '>=12.22.0'}- peerDependencies:- webpack: ^4.44.2 || ^5.47.0- dependencies:- tapable: 2.2.1- webpack: 5.72.0- webpack-sources: 2.3.1- dev: false-/webpack-merge/5.8.0:resolution: {integrity: sha512-/SaI7xY0831XwP6kzuwhKWVKDP9t1QY1h65lAFLbZqMPIuYcD9QAW4u9STIbU9kaJbPBB/geU/gLr1wDjOhQ+Q==}engines: {node: '>=10.0.0'}@@ -20458,14 +20434,6 @@ packages:source-map: 0.6.1dev: false- /webpack-sources/2.3.1:- resolution: {integrity: sha512-y9EI9AO42JjEcrTJFOYmVywVZdKVUfOvDUPsJea5GIr1JOEGFVqwlY2K098fFoIjOkDzHn2AjRvM8dsBZu+gCA==}- engines: {node: '>=10.13.0'}- dependencies:- source-list-map: 2.0.1- source-map: 0.6.1- dev: false-/webpack-sources/3.2.1:resolution: {integrity: sha512-t6BMVLQ0AkjBOoRTZgqrWm7xbXMBzD+XDq2EZ96+vMfn3qKgsvdXZhbPZ4ElUOpdv4u+iiGe+w3+J75iy/bYGA==}engines: {node: '>=10.13.0'}