NASA-PDS / wds-react-legacy

PDS Web Design System - React Implementation
https://github.com/NASA-PDS/wds-react
Apache License 2.0
1 stars 1 forks source link

Remove plugins #122

Open anilnatha opened 11 months ago

anilnatha commented 11 months ago

While testing package changes dependabot recommended, uncovered an issue with the usage of WatchMissingNodeModulesPlugin that was a part of the react-dev-utils package. This plugin appears to have been removed for Webpack 5.

Course of action should be to to find all usages of this plugin and remove it.

anilnatha commented 11 months ago

Removing the WatchMissingNodeModulesPlugin has resolved the original issue that was being reported, but we are also being affected by another missing plugin:

Error: Cannot find module 'react-dev-utils/typescriptFormatter'

Course of action is the same, remove any usage of this plugin.

jordanpadams commented 9 months ago

@anilnatha any status on the closeout of this ticket? I see 1 PR associated here, but per the last comment, it appears we still have additional issues to resolve?

anilnatha commented 8 months ago

IIRC, this bug is related to bumping Webpack to version 5, which introduced other issues that I didn't get a chance to circle back to and resolve. And since this is our legacy codebase I didn't want to spend too much time on it unless it was critical.