Skip to content

Commit

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

* fix path
  • Loading branch information
yoyo837 committed Dec 15, 2023
1 parent 577ea0c commit 57c4652
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .dumirc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default defineConfig({
name: 'InputNumber',
logo: 'https://avatars0.githubusercontent.com/u/9441414?s=200&v=4'
},
outputPath: '.doc',
outputPath: 'docs-dist',
exportStatic: {},
styles: [`body .dumi-default-header-left { width: 230px; } body .dumi-default-hero-title { font-size: 100px; }`],
});
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ coverage
yarn.lock
pnpm-lock.yaml
package-lock.json
.doc/
docs-dist/

# umi
.umi
Expand Down
5 changes: 1 addition & 4 deletions now.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@
{
"src": "package.json",
"use": "@now/static-build",
"config": { "distDir": ".doc" }
"config": { "distDir": "docs-dist" }
}
],
"routes": [
{ "src": "/(.*)", "dest": "/dist/$1" }
]
}

1 comment on commit 57c4652

@vercel
Copy link

@vercel vercel bot commented on 57c4652 Dec 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.