refactor: switch to bowser for user agent parsing (#30)

This commit is contained in:
hampus-fluxer
2026-01-05 14:32:55 +01:00
committed by GitHub
parent a9da71c7d7
commit 2cd7aa5863
8 changed files with 396 additions and 326 deletions

View File

@@ -344,7 +344,7 @@ export default () => {
reuseExistingChunk: true,
},
utils: {
test: /[\\/]node_modules[\\/](lodash|clsx|qrcode|thumbhash|ua-parser-js|match-sorter)[\\/]/,
test: /[\\/]node_modules[\\/](lodash|clsx|qrcode|thumbhash|bowser|match-sorter)[\\/]/,
name: 'utils',
priority: 28,
reuseExistingChunk: true,