Skip to content

Commit a3b4bf9

Browse files
authored
chore: fix vercel (#383)
* chore: fix vercel * chore: dist
1 parent ecc8da9 commit a3b4bf9

File tree

4 files changed

+20
-10
lines changed

4 files changed

+20
-10
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ node_modules
2222
.cache
2323
*.css
2424
build
25+
dist
2526
lib
2627
es
2728
coverage
@@ -45,4 +46,4 @@ package-lock.json
4546

4647
# dumi
4748
.dumi/tmp
48-
.dumi/tmp-production
49+
.dumi/tmp-production

now.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,5 @@
77
"use": "@now/static-build",
88
"config": { "distDir": "dist" }
99
}
10-
],
11-
"routes": [
12-
{ "src": "/(.*)", "dest": "/dist/$1" }
1310
]
1411
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"coverage": "rc-test --coverage",
3333
"deploy": "npm run docs:build && npm run docs:deploy",
3434
"docs:build": "dumi build",
35-
"docs:deploy": "gh-pages -d .doc",
35+
"docs:deploy": "gh-pages -d dist",
3636
"lint": "eslint src/ --ext .ts,.tsx,.jsx,.js,.md",
3737
"lint:tsc": "tsc -p tsconfig.json --noEmit",
3838
"now-build": "npm run docs:build",

tsconfig.json

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,22 @@
88
"skipLibCheck": true,
99
"esModuleInterop": true,
1010
"paths": {
11-
"@/*": ["src/*"],
12-
"@@/*": [".dumi/tmp/*"],
13-
"rc-dialog": ["src/index.ts"]
11+
"@/*": [
12+
"src/*"
13+
],
14+
"@@/*": [
15+
".dumi/tmp/*"
16+
],
17+
"rc-dialog": [
18+
"src/index.ts"
19+
]
1420
}
1521
},
16-
"include": [".dumi/**/*", ".dumirc.ts", "./src/**/*.ts", "./src/**/*.tsx", "./docs/**/*.tsx", "./tests/**/*.tsx"]
17-
}
22+
"include": [
23+
".dumirc.ts",
24+
"./src/**/*.ts",
25+
"./src/**/*.tsx",
26+
"./docs/**/*.tsx",
27+
"./tests/**/*.tsx"
28+
]
29+
}

0 commit comments

Comments
 (0)