-
-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: v2.0 开发中,使用TypeScript重写,支持vitepress新版
- Loading branch information
1 parent
f567397
commit 3245fc4
Showing
31 changed files
with
5,517 additions
and
7,013 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import { defineBuildConfig, BuildEntry } from 'unbuild' | ||
// import { path } from '@vuepress/utils' | ||
// import { findFiles, getDirname } from './src/utils' | ||
// const __dirname = getDirname(import.meta.url) | ||
// const clientFiles = findFiles(path.resolve(__dirname, 'src/client')) | ||
|
||
export default defineBuildConfig({ | ||
entries: [ | ||
{ | ||
input: 'src/node/index', | ||
name: 'node/index' | ||
}, | ||
{ | ||
input: 'src/client/', | ||
outDir: 'dist/client/' | ||
} | ||
], | ||
clean: true, | ||
declaration: true, | ||
externals: [], | ||
rollup: { | ||
emitCJS: true | ||
} | ||
}) |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.