Replies: 2 comments
-
@ScriptedAlchemy Could you help me here, please? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Currently, I don't believe we support disabling logs. Feel free to send a PR. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey 👋🏻
For context, I’m working on an internal CLI project that bundles some JavaScript code using Webpack and Module Federation Core. I’ve already figured out how to disable Webpack logs, and I’m manually managing the stats feedback to control what we share with the user. However, I haven’t been able to suppress or disable logs from the ModuleFederationPlugin, as it seems to call console.log directly without checking for any flags (like logging: false). Is there a workaround for this?
I’d really appreciate your help 🙏🏻
Example:
![Screenshot 2024-10-12 at 02 02 02](https://private-user-images.githubusercontent.com/20327229/375927167-feb4285c-1547-447f-be02-97ab7c29eff1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5MTUyMDIsIm5iZiI6MTczODkxNDkwMiwicGF0aCI6Ii8yMDMyNzIyOS8zNzU5MjcxNjctZmViNDI4NWMtMTU0Ny00NDdmLWJlMDItOTdhYjdjMjllZmYxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA3VDA3NTUwMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWY5YjliN2RhNGFiYTJmNmUxYzhmMTgyNmYwYjc5ODg1YmQzNzFkYjhmYzRlYmNhYjgzZTgyNDQ3Yjg2MTg3NWImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.tsikrseOPhkPTXJwXkmEZpbdqCjxnqg5fyvs5fFs8mw)
Beta Was this translation helpful? Give feedback.
All reactions