Skip to content

Commit

Permalink
修改打包配置
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaxing123456 committed Aug 26, 2024
1 parent c70a1bb commit b109c67
Show file tree
Hide file tree
Showing 82 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
node_modules
/docs/.vitepress/dist/
.vscode
.idea
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion docs/.vitepress/config.mts → doc/.vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default defineConfig({
title: process.env.VITE_DOCS_TITLE,
description: '前端笔记',
assetsDir: 'static',
outDir: './dist',
outDir: '../docs',
themeConfig: {
// https://vitepress.dev/reference/default-theme-config
outlineTitle: '导览',
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"dev:docs": "pnpm -C docs docs:dev"
"dev:docs": "pnpm -C doc docs:dev",
"build:docs": "pnpm -C doc docs:build"
},
"keywords": [],
"author": "",
Expand Down

0 comments on commit b109c67

Please sign in to comment.