Skip to content

Commit

Permalink
fix: WatchMissingNodeModulesPlugin was commented (#3) (#4)
Browse files Browse the repository at this point in the history
Co-authored-by: Evgeniy Volkov <evgenii.volkov@leroymerlin.ru>
  • Loading branch information
methodnumber13 and Evgeniy Volkov authored Oct 11, 2021
1 parent 3534034 commit 06f7a49
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions webpack/additionals.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const WebpackBar = require('webpackbar');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const DuplicatePackageCheckerPlugin = require('duplicate-package-checker-webpack-plugin');
const CaseSensitivePathsPlugin = require('case-sensitive-paths-webpack-plugin');
const WatchMissingNodeModulesPlugin = require('react-dev-utils/WatchMissingNodeModulesPlugin');
// const WatchMissingNodeModulesPlugin = require('react-dev-utils/WatchMissingNodeModulesPlugin');
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
const ESLintPlugin = require('eslint-webpack-plugin');
const StylelintPlugin = require('stylelint-webpack-plugin');
Expand All @@ -22,7 +22,8 @@ const makePlugins = (isDev, minify) => {
new WebpackBar(),
new CaseSensitivePathsPlugin(),
new DuplicatePackageCheckerPlugin(),
new WatchMissingNodeModulesPlugin(path.resolve('node_modules')),
// commented because of mac development problem
// new WatchMissingNodeModulesPlugin(path.resolve('node_modules')),
new CleanWebpackPlugin(),
];
const commonPlugins = [
Expand Down

0 comments on commit 06f7a49

Please sign in to comment.