fix: lazily import sharp to fix commonjs error
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
"@lib/": "./lib/",
|
||||
"@/": "./",
|
||||
"@libsql/client": "npm:@libsql/client@^0.17.0",
|
||||
"@libsql/linux-x64-gnu": "npm:@libsql/linux-x64-gnu@^0.5.22",
|
||||
"@openai/openai": "jsr:@openai/openai@^6.16.0",
|
||||
"@preact-icons/tb": "jsr:@preact-icons/tb@^1.0.14",
|
||||
"@std/http": "jsr:@std/http@^1.0.23",
|
||||
@@ -88,13 +89,11 @@
|
||||
},
|
||||
"allowScripts": {
|
||||
"allow": [
|
||||
"npm:sharp@0.34.5"
|
||||
],
|
||||
"deny": [
|
||||
"npm:sharp@0.34.5",
|
||||
"npm:esbuild@0.27.2",
|
||||
"npm:esbuild@0.18.20",
|
||||
"npm:esbuild@0.25.12",
|
||||
"npm:esbuild@0.25.7",
|
||||
"npm:esbuild@0.27.2"
|
||||
"npm:esbuild@0.25.7"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user