@brillout/docpress 0.6.17 → 0.6.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -23,7 +23,7 @@ var config = {
23
23
  includeAssetsImportedByServer: true,
24
24
  }),
25
25
  ],
26
- optimizeDeps: { include: ['@mdx-js/react', 'react-dom'] },
26
+ optimizeDeps: { include: ['@brillout/docpress', 'react-dom'] },
27
27
  // @ts-ignore
28
28
  ssr: {
29
29
  noExternal: ['@brillout/docpress'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brillout/docpress",
3
- "version": "0.6.17",
3
+ "version": "0.6.18",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "// Build vite.config.ts and +config.ts": "",
package/types.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /// <reference types="vite/client" />
2
2
 
3
3
  declare module '*.mdx' {
4
- const value: () => JSX.Element
4
+ const value: (props?: any) => JSX.Element
5
5
  export default value
6
6
  export const headings: { level: number; title: string; id: string }[]
7
7
  }
package/vite.config.ts CHANGED
@@ -26,7 +26,7 @@ const config: UserConfig = {
26
26
  includeAssetsImportedByServer: true,
27
27
  }),
28
28
  ],
29
- optimizeDeps: { include: ['@mdx-js/react', 'react-dom'] },
29
+ optimizeDeps: { include: ['@brillout/docpress', 'react-dom'] },
30
30
  // @ts-ignore
31
31
  ssr: {
32
32
  noExternal: ['@brillout/docpress'],