Skip to content

Commit

Permalink
Merge pull request rancher#12561 from moio/no_webworker_polyfill_210
Browse files Browse the repository at this point in the history
 [2.10 backport] Avoid embedding web-worker polyfill
  • Loading branch information
richard-cox authored Dec 2, 2024
2 parents 55da507 + 8110cb2 commit c634d5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shell/vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,11 +131,11 @@ const instrumentCode = () => {
};

const getLoaders = (SHELL_ABS) => [
// Ensure there is a fallback for browsers that don't support web workers
// no fallback for pre-2013 browsers https://caniuse.com/webworkers
{
test: /web-worker.[a-z-]+.js/i,
loader: 'worker-loader',
options: { inline: 'fallback' },
options: { inline: 'no-fallback' },
},
// Handler for csv files (e.g. ec2 instance data)
{
Expand Down

0 comments on commit c634d5c

Please sign in to comment.