Skip to content

Commit 2ac369b

Browse files
committed
build: adjust;
1 parent 0ff52b8 commit 2ac369b

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

netlify.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[build]
2+
publish = "dist"
3+
command = "npm run build"
4+
5+
[build.environment]
6+
NODE_VERSION = "18.17.0"

server/utils/aspect.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
import sharp from 'sharp'
12
import { createCanvas, loadImage } from 'canvas'
23
import axios from 'axios'
3-
import sharp from 'sharp'
44

55
// 图标位置类型
66
type IconPosition = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'center'

0 commit comments

Comments
 (0)