-
Notifications
You must be signed in to change notification settings - Fork 920
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: move defineClientConfig back to client package
- Loading branch information
Showing
3 changed files
with
9 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import type { ClientConfig } from '../types/index.js' | ||
|
||
/** | ||
* A helper function to help you define vuepress client config file | ||
*/ | ||
export const defineClientConfig = ( | ||
clientConfig: ClientConfig = {}, | ||
): ClientConfig => clientConfig |
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 +1,2 @@ | ||
export * from './defineClientConfig.js' | ||
export * from './withBase.js' |
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,10 +1 @@ | ||
import type { ClientConfig } from '@vuepress/client' | ||
|
||
/** | ||
* A helper function to help you define vuepress client config file | ||
*/ | ||
export const defineClientConfig = ( | ||
clientConfig: ClientConfig = {}, | ||
): ClientConfig => clientConfig | ||
|
||
export * from '@vuepress/client' |