From 15f028fe59a33017065f4ef0cddc427d1d67f5c4 Mon Sep 17 00:00:00 2001 From: Joel Date: Wed, 19 Feb 2025 12:35:16 +0800 Subject: [PATCH] fix: build web image fail (#13996) --- web/package.json | 2 +- web/pnpm-lock.yaml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/web/package.json b/web/package.json index 275d74c045..f17f9cf81d 100644 --- a/web/package.json +++ b/web/package.json @@ -48,7 +48,6 @@ "@tanstack/react-query": "^5.60.5", "@tanstack/react-query-devtools": "^5.60.5", "ahooks": "^3.8.1", - "canvas": "^3.1.0", "class-variance-authority": "^0.7.0", "classnames": "^2.5.1", "copy-to-clipboard": "^3.3.3", @@ -163,6 +162,7 @@ "@types/uuid": "^10.0.0", "autoprefixer": "^10.4.20", "bing-translate-api": "^4.0.2", + "canvas": "^3.1.0", "code-inspector-plugin": "^0.18.1", "cross-env": "^7.0.3", "eslint": "^9.13.0", diff --git a/web/pnpm-lock.yaml b/web/pnpm-lock.yaml index f51b797f0f..77fe853c4b 100644 --- a/web/pnpm-lock.yaml +++ b/web/pnpm-lock.yaml @@ -85,9 +85,6 @@ importers: ahooks: specifier: ^3.8.1 version: 3.8.1(react@18.2.0) - canvas: - specifier: ^3.1.0 - version: 3.1.0 class-variance-authority: specifier: ^0.7.0 version: 0.7.0 @@ -425,6 +422,9 @@ importers: bing-translate-api: specifier: ^4.0.2 version: 4.0.2 + canvas: + specifier: ^3.1.0 + version: 3.1.0 code-inspector-plugin: specifier: ^0.18.1 version: 0.18.3