We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69b6a1e commit 651dac5Copy full SHA for 651dac5
packages/client/src/utils/defineClientConfig.ts
@@ -0,0 +1,8 @@
1
+import type { ClientConfig } from '../types/index.js'
2
+
3
+/**
4
+ * A helper function to help you define vuepress client config file
5
+ */
6
+export const defineClientConfig = (
7
+ clientConfig: ClientConfig = {},
8
+): ClientConfig => clientConfig
packages/client/src/utils/index.ts
@@ -1 +1,2 @@
+export * from './defineClientConfig.js'
export * from './withBase.js'
packages/vuepress/src/client.ts
@@ -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
9
10
export * from '@vuepress/client'
0 commit comments