Skip to content

Commit

Permalink
chore: update build.cts
Browse files Browse the repository at this point in the history
  • Loading branch information
BIYUEHU authored Sep 4, 2024
1 parent 3354bbe commit 98444d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/build.cts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ const runningDir = process.cwd()
cd(resolve(runningDir, '../packages/demo'))
exec('npm run build')

cd('dist')
cd(resolve(runningDir, '../packages/demo/dist/'))
mv('index.html', 'demo.html')
mv('./dist', resolve(runningDir, './.vitepress/dist/'))
mv('./*', resolve(runningDir, './.vitepress/dist/'))

0 comments on commit 98444d1

Please sign in to comment.