Skip to content

Commit

Permalink
Merge pull request #12401 from moio/no_webworker_polyfill_29
Browse files Browse the repository at this point in the history
[2.9 backport] Avoid embedding web-worker polyfill
  • Loading branch information
richard-cox authored Nov 21, 2024
2 parents 36fc20d + 23c7b81 commit af3c54b
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 @@ -120,11 +120,11 @@ const getLoaders = (SHELL_ABS) => {
}

return [
// 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 af3c54b

Please sign in to comment.