'Webpack shows warning twice
I have an ejected CRA and I recently upgraded Webpack to version 5, and now after using npm run start I get warning twice (attached), is there any option to show it only once?
I noticed that on new CRA project this happens too when using ESLint webpack plugin.
Compiled with warnings.
src/app/apollo/apollo.ts
Line 15:7: Unexpected console statement no-console
Line 18:21: Unexpected console statement no-console
Search for the keywords to learn more about each warning.
To ignore, add // eslint-disable-next-line to the line before.
WARNING in src/app/apollo/apollo.ts
Line 15:7: Unexpected console statement no-console
Line 18:21: Unexpected console statement no-console
webpack compiled with 1 warning
No issues found.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
