Skip to content

Commit

Permalink
🐛 fix: fix remark gfm regex breaks in Safari versions < 16.4 (lobehub…
Browse files Browse the repository at this point in the history
…#5357)

* fix build

* fix build
  • Loading branch information
arvinxx authored Jan 9, 2025
1 parent f50b8de commit 9086570
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions next.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ const nextConfig: NextConfig = {
'gpt-tokenizer',
],
webVitalsAttribution: ['CLS', 'LCP'],
webpackMemoryOptimizations: true,
},
async headers() {
return [
Expand Down
6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -321,12 +321,18 @@
"registry": "https://registry.npmjs.org"
},
"pnpm": {
"overrides": {
"mdast-util-gfm-autolink-literal": "2.0.0"
},
"packageExtensions": {
"@inkjs/ui": {
"dependencies": {
"react": "^18"
}
}
}
},
"overrides": {
"mdast-util-gfm-autolink-literal": "2.0.0"
}
}

0 comments on commit 9086570

Please sign in to comment.