From d74250cd28ac0addc634a7f2deaa3db310323283 Mon Sep 17 00:00:00 2001 From: Amumu Date: Tue, 26 Dec 2023 10:24:26 +0800 Subject: [PATCH] docs: fix vercel build (#449) --- .dumirc.ts | 1 - now.json | 8 ++------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/.dumirc.ts b/.dumirc.ts index 9a82472a..a5ffe351 100644 --- a/.dumirc.ts +++ b/.dumirc.ts @@ -7,7 +7,6 @@ export default defineConfig({ logo: 'https://avatars0.githubusercontent.com/u/9441414?s=200&v=4', }, exportStatic: {}, - outputPath: '.doc', base: '/tree-select/', publicPath: '/tree-select/', styles: [ diff --git a/now.json b/now.json index a786383a..f0ac9cc4 100644 --- a/now.json +++ b/now.json @@ -1,4 +1,3 @@ - { "version": 2, "name": "rc-tree-select", @@ -6,10 +5,7 @@ { "src": "package.json", "use": "@now/static-build", - "config": { "distDir": ".doc" } + "config": { "distDir": "dist" } } - ], - "routes": [ - { "src": "/(.*)", "dest": "/dist/$1" } ] -} \ No newline at end of file +}