mirror of
https://github.com/lobehub/lobe-chat.git
synced 2026-06-18 05:18:31 +00:00
🐛 fix: fix remark gfm regex breaks in Safari versions < 16.4 (#5357)
* fix build * fix build
This commit is contained in:
@@ -26,6 +26,7 @@ const nextConfig: NextConfig = {
|
||||
'gpt-tokenizer',
|
||||
],
|
||||
webVitalsAttribution: ['CLS', 'LCP'],
|
||||
webpackMemoryOptimizations: true,
|
||||
},
|
||||
async headers() {
|
||||
return [
|
||||
|
||||
@@ -321,6 +321,9 @@
|
||||
"registry": "https://registry.npmjs.org"
|
||||
},
|
||||
"pnpm": {
|
||||
"overrides": {
|
||||
"mdast-util-gfm-autolink-literal": "2.0.0"
|
||||
},
|
||||
"packageExtensions": {
|
||||
"@inkjs/ui": {
|
||||
"dependencies": {
|
||||
@@ -328,5 +331,8 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"overrides": {
|
||||
"mdast-util-gfm-autolink-literal": "2.0.0"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user