Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[dev-tool] try
/
and \
path separators when checking bundling war…
…nings (#24386) It turns out that on windows some warnings are reported with `\` separator while others with `/` at the same time, e.g., str ../../../common/temp/node_modules/.pnpm/[email protected]/node_modules/chai/lib/chai.js str C:\github\jeremymeng\js-main\common\temp\node_modules\.pnpm\[email protected]\node_modules\sinon\pkg\sinon-esm.js This PR changes to try both separators when checking whether to suppress bundle warnings. --------- Co-authored-by: Will Temple <[email protected]>
- Loading branch information