diff --git a/packages/cli/package-lock.json b/packages/cli/package-lock.json index 3bd45ad4a8..64ad06d35d 100644 --- a/packages/cli/package-lock.json +++ b/packages/cli/package-lock.json @@ -5529,11 +5529,6 @@ "resolved": "https://registry.npmjs.org/slash/-/slash-4.0.0.tgz", "integrity": "sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew==" }, - "source-list-map": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/source-list-map/-/source-list-map-2.0.1.tgz", - "integrity": "sha512-qnQ7gVMxGNxsiL4lEuJwe/To8UnK7fAnmbGEEH8RpLouuKbeEm0lhbQVFIrNSuB+G7tVrAlVsZgETT5nljf+Iw==" - }, "source-map": { "version": "0.5.7", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", @@ -6129,31 +6124,6 @@ } } }, - "webpack-manifest-plugin": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/webpack-manifest-plugin/-/webpack-manifest-plugin-4.0.2.tgz", - "integrity": "sha512-Ld6j05pRblXAVoX8xdXFDsc/s97cFnR1FOmQawhTSlp6F6aeU1Jia5aqTmDpkueaAz8g9sXpgSOqmEgVAR61Xw==", - "requires": { - "tapable": "^2.0.0", - "webpack-sources": "^2.2.0" - }, - "dependencies": { - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==" - }, - "webpack-sources": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-2.3.1.tgz", - "integrity": "sha512-y9EI9AO42JjEcrTJFOYmVywVZdKVUfOvDUPsJea5GIr1JOEGFVqwlY2K098fFoIjOkDzHn2AjRvM8dsBZu+gCA==", - "requires": { - "source-list-map": "^2.0.1", - "source-map": "^0.6.1" - } - } - } - }, "webpack-remove-empty-scripts": { "version": "0.7.2", "resolved": "https://registry.npmjs.org/webpack-remove-empty-scripts/-/webpack-remove-empty-scripts-0.7.2.tgz", diff --git a/packages/cli/package.json b/packages/cli/package.json index 051ffc3cfe..ba41306bbf 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -71,7 +71,6 @@ "webpack": "^5.65.0", "webpack-bundle-analyzer": "^4.5.0", "webpack-dev-middleware": "^5.3.0", - "webpack-manifest-plugin": "^4.0.2", "webpack-remove-empty-scripts": "^0.7.2", "yargs": "^17.3.1" }, diff --git a/packages/cli/src/webpack/config.ts b/packages/cli/src/webpack/config.ts index 0052b9fe60..8c300239c0 100644 --- a/packages/cli/src/webpack/config.ts +++ b/packages/cli/src/webpack/config.ts @@ -11,7 +11,6 @@ import CssMinimizerPlugin from 'css-minimizer-webpack-plugin'; import TerserPlugin from 'terser-webpack-plugin'; import CompressionPlugin from 'compression-webpack-plugin'; import ReactRefreshWebpackPlugin from '@pmmmwh/react-refresh-webpack-plugin'; -import { WebpackManifestPlugin } from 'webpack-manifest-plugin'; import { ConfigurationContext, ImaConfig } from '../types'; import { @@ -446,12 +445,6 @@ export default async ( ].filter(Boolean) : // Client-specific plugins [ - // Generate manifest for client static - new WebpackManifestPlugin({ - fileName: `static/${isEsVersion ? 'js.es' : 'js'}/manifest.json`, - filter: file => /\.(js|css)$/.test(file.name) - }), - // Removes generated empty script caused by non-js entry points new RemoveEmptyScriptsPlugin(),