fluentui
fluentui copied to clipboard
[Bug]: heavy webpack warnings logs in all cypress tests
Library
React Components / v9 (@fluentui/react-components)
System Info
N/A
Are you reporting Accessibility issue?
None
Reproduction
https://uifabric.visualstudio.com/fabricpublic/_build/results?buildId=341486&view=logs&j=be0e6c0b-16d6-5408-4b39-461952619dc9&t=926b3b81-7261-5340-2484-3d0f8e2f69fd
Bug Description
Actual Behavior
esbuild-loader started to emit tons of WARNINGs when running cypress tests
https://uifabric.visualstudio.com/fabricpublic/_build/results?buildId=341486&view=logs&j=be0e6c0b-16d6-5408-4b39-461952619dc9&t=926b3b81-7261-5340-2484-3d0f8e2f69fd
Expected Behavior
no warnings as they are misleading
This was introduced in esbuild-loader v4 https://github.com/privatenumber/esbuild-loader/issues/343
Logs
No response
Requested priority
Normal
Products/sites affected
No response
Are you willing to submit a PR to fix?
yes
Validations
- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- [X] The provided reproduction is a minimal reproducible example of the bug.