Skip to content

Commit

Permalink
fix: URL.canParse is not a function
Browse files Browse the repository at this point in the history
  • Loading branch information
surmon-china committed Sep 10, 2024
1 parent 7b84728 commit 56feb7c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"bezier-easing": "^2.1.0",
"compression": "^1.7.4",
"cookie-parser": "^1.4.6",
"core-js": "^3.x",
"dotenv": "^16.4.5",
"emoji-233333": "^0.3.2",
"express": "^4.20.x",
Expand Down
8 changes: 8 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions src/csr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@
*/

// polyfills
// e.g. loadmore / lozad component
import 'intersection-observer'
// for Android browsers. e.g. WeChat webview
import 'core-js/modules/web.url.can-parse'

import * as Sentry from '@sentry/vue'
import { computed, watch } from 'vue'
Expand Down

0 comments on commit 56feb7c

Please sign in to comment.