Skip to content

Commit

Permalink
fix: 🐛 Removed unused manifest plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
jsimck committed Jan 13, 2022
1 parent 7474148 commit ebcfc64
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 38 deletions.
30 changes: 0 additions & 30 deletions packages/cli/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
7 changes: 0 additions & 7 deletions packages/cli/src/webpack/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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(),

Expand Down

0 comments on commit ebcfc64

Please sign in to comment.