-
-
Notifications
You must be signed in to change notification settings - Fork 327
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #802 from benmccann/esm
- Loading branch information
Showing
2 changed files
with
2 additions
and
6 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,14 +1,10 @@ | ||
const vitpress = require('vitepress') | ||
const path = require('path') | ||
const chalk = require('chalk') | ||
|
||
/** 构建说明: | ||
* | ||
* 所有需要的构建步骤,都应封装为返回 Promise 的函数 | ||
* 保证不会因为任何异步操作导致构建错误或失败 | ||
* (若有顺序必要,则依次调用) | ||
*/ | ||
|
||
const rewriteTitle = require('../.vitepress/rewrite-title') | ||
import rewriteTitle from '../.vitepress/rewrite-title/index.js' | ||
|
||
rewriteTitle().then(() => {}) |
f3b09cf
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
cn-vitejs-dev – ./
cn-vitejs-dev-vuejs.vercel.app
cn-vitejs-dev-git-main-vuejs.vercel.app
docs-cn.vercel.app
cn.vitejs.dev