Skip to content

Commit

Permalink
chore: fix vercel (#383)
Browse files Browse the repository at this point in the history
* chore: fix vercel

* chore: dist
  • Loading branch information
yoyo837 committed Jan 3, 2024
1 parent ecc8da9 commit a3b4bf9
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 10 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ node_modules
.cache
*.css
build
dist
lib
es
coverage
Expand All @@ -45,4 +46,4 @@ package-lock.json

# dumi
.dumi/tmp
.dumi/tmp-production
.dumi/tmp-production
3 changes: 0 additions & 3 deletions now.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,5 @@
"use": "@now/static-build",
"config": { "distDir": "dist" }
}
],
"routes": [
{ "src": "/(.*)", "dest": "/dist/$1" }
]
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"coverage": "rc-test --coverage",
"deploy": "npm run docs:build && npm run docs:deploy",
"docs:build": "dumi build",
"docs:deploy": "gh-pages -d .doc",
"docs:deploy": "gh-pages -d dist",
"lint": "eslint src/ --ext .ts,.tsx,.jsx,.js,.md",
"lint:tsc": "tsc -p tsconfig.json --noEmit",
"now-build": "npm run docs:build",
Expand Down
22 changes: 17 additions & 5 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,22 @@
"skipLibCheck": true,
"esModuleInterop": true,
"paths": {
"@/*": ["src/*"],
"@@/*": [".dumi/tmp/*"],
"rc-dialog": ["src/index.ts"]
"@/*": [
"src/*"
],
"@@/*": [
".dumi/tmp/*"
],
"rc-dialog": [
"src/index.ts"
]
}
},
"include": [".dumi/**/*", ".dumirc.ts", "./src/**/*.ts", "./src/**/*.tsx", "./docs/**/*.tsx", "./tests/**/*.tsx"]
}
"include": [
".dumirc.ts",
"./src/**/*.ts",
"./src/**/*.tsx",
"./docs/**/*.tsx",
"./tests/**/*.tsx"
]
}

0 comments on commit a3b4bf9

Please sign in to comment.