rancher / dashboard

The Rancher UI
https://rancher.com
Apache License 2.0
463 stars 263 forks source link

[backport v2.10.1] Embedding web-worker polyfill breaks sourcemap tools #12514

Open github-actions[bot] opened 3 weeks ago

github-actions[bot] commented 3 weeks ago

This is a backport issue for #12511, automatically created via GitHub Actions workflow initiated by @richard-cox

Original issue body:

Setup

Describe the bug The BLOB code from web-worker is minified, and contains source maps that are then passed over by webpack - that creates a situation of minified code inside BLOB inside minified code which confuses some tools, eg.

https://github.com/jantimon/chrome-profile-sourcemap-resolver/pull/4

That could be fixed, but the only reason to do so would be supporting very old (pre-2013) browsers, so we are better off removing the polyfill altogether.

Expected Result Validation steps for QA

Notes Fallback brought in when fixing another issue - https://github.com/rancher/dashboard/pull/6563

richard-cox commented 1 day ago

PR https://github.com/rancher/dashboard/pull/12561