Skip to content

Commit fd98a97

Browse files
committed
fix(chat): cannot add images in Firefox
1 parent 0edd00e commit fd98a97

5 files changed

Lines changed: 846 additions & 318 deletions

File tree

package.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
"build:prod": "wxt build",
3232
"build:prod:firefox": "wxt build -b firefox --mv3",
3333
"build:analyze": "wxt build --analyze",
34+
"build:analyze:firefox": "wxt build -b firefox --mv3 --analyze",
3435
"check": "vue-tsc --noEmit && eslint",
3536
"lint": "eslint",
3637
"lint:fix": "eslint --fix",
@@ -56,6 +57,13 @@
5657
"@ai-sdk/provider": "^1.1.3",
5758
"@ai-sdk/provider-utils": "^2.2.8",
5859
"@huggingface/transformers": "^3.5.2",
60+
"@jimp/core": "^1.6.0",
61+
"@jimp/js-bmp": "^1.6.0",
62+
"@jimp/js-gif": "^1.6.0",
63+
"@jimp/js-jpeg": "^1.6.0",
64+
"@jimp/js-png": "^1.6.0",
65+
"@jimp/js-tiff": "^1.6.0",
66+
"@jimp/plugin-resize": "^1.6.0",
5967
"@mlc-ai/web-llm": "^0.2.79",
6068
"@mozilla/readability": "^0.6.0",
6169
"@tailwindcss/vite": "^4.1.7",
@@ -64,6 +72,7 @@
6472
"base64-js": "^1.5.1",
6573
"best-effort-json-parser": "^1.1.3",
6674
"birpc": "^2.3.0",
75+
"buffer": "^6.0.3",
6776
"cheerio": "^1.0.0",
6877
"chrome-ai": "^1.11.1",
6978
"csstype": "^3.1.3",
@@ -74,7 +83,6 @@
7483
"events": "^3.3.0",
7584
"guesslanguage": "^0.2.0",
7685
"highlight.js": "^11.11.1",
77-
"jimp": "^1.6.0",
7886
"katex": "^0.16.22",
7987
"lru-cache": "^11.1.0",
8088
"marked": "^15.0.11",
@@ -133,6 +141,7 @@
133141
"typescript": "5.6.3",
134142
"typescript-eslint": "^8.32.0",
135143
"vite-bundle-analyzer": "^1.1.0",
144+
"vite-plugin-node-polyfills": "^0.24.0",
136145
"vite-plugin-webfont-dl": "^3.10.5",
137146
"vite-svg-loader": "^5.1.0",
138147
"vitest": "^3.2.4",

0 commit comments

Comments
 (0)