Skip to content

Commit bbf93d2

Browse files
author
Morten N.O. Henriksen
committed
Comment out WebpackManifestPlugin for now having issues with undefined path
1 parent 19faf8c commit bbf93d2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/react-scripts/config/webpack.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const InlineChunkHtmlPlugin = require('react-dev-utils/InlineChunkHtmlPlugin');
1818
const TerserPlugin = require('terser-webpack-plugin');
1919
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
2020
const CssMinimizerPlugin = require('css-minimizer-webpack-plugin');
21-
const { WebpackManifestPlugin } = require('webpack-manifest-plugin');
21+
// const { WebpackManifestPlugin } = require('webpack-manifest-plugin');
2222
const InterpolateHtmlPlugin = require('react-dev-utils/InterpolateHtmlPlugin');
2323
const WorkboxWebpackPlugin = require('workbox-webpack-plugin');
2424
const WatchMissingNodeModulesPlugin = require('react-dev-utils/WatchMissingNodeModulesPlugin');
@@ -656,7 +656,7 @@ module.exports = function (webpackEnv) {
656656
// `index.html`
657657
// - "entrypoints" key: Array of files which are included in `index.html`,
658658
// can be used to reconstruct the HTML if necessary
659-
new WebpackManifestPlugin({
659+
/*new WebpackManifestPlugin({
660660
fileName: 'asset-manifest.json',
661661
publicPath: paths.publicUrlOrPath,
662662
generate: (seed, files, entrypoints) => {
@@ -673,7 +673,7 @@ module.exports = function (webpackEnv) {
673673
entrypoints: entrypointFiles,
674674
};
675675
},
676-
}),
676+
}),*/
677677
// Moment.js is an extremely popular library that bundles large locale files
678678
// by default due to how webpack interprets its code. This is a practical
679679
// solution that requires the user to opt into importing specific locales.

0 commit comments

Comments
 (0)