Skip to content

Commit ba15362

Browse files
committed
chore: migrate from now.json to vercel.json and update build config
1 parent 4c45483 commit ba15362

File tree

4 files changed

+5
-15
lines changed

4 files changed

+5
-15
lines changed

.umirc.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ export default defineConfig({
44
themeConfig: {
55
name: 'Tree',
66
},
7+
outputPath: '.doc',
78
});

now.json

Lines changed: 0 additions & 14 deletions
This file was deleted.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"start": "dumi dev",
3232
"build": "dumi build",
3333
"compile": "father build",
34-
"prepublishOnly": "npm run compile && rc-np --no-cleanup --yolo --no-publish",
34+
"prepublishOnly": "npm run compile && rc-np",
3535
"lint": "eslint src/ --ext .tsx,.ts",
3636
"test": "rc-test",
3737
"now-build": "npm run build"

vercel.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"framework": "umijs"
3+
}

0 commit comments

Comments
 (0)