mdx-bundler
Advanced tools
Comparing version 6.0.2 to 6.0.3
@@ -1,10 +0,8 @@ | ||
export type ComponentMap = { | ||
[name: string]: string | React.ComponentType<{}> | ComponentMap; | ||
}; | ||
export type ComponentMap = import('mdx/types').MDXComponents; | ||
export type MDXContentProps = { | ||
[props: string]: unknown; | ||
components?: ComponentMap | undefined; | ||
components?: import("mdx/types").MDXComponents | undefined; | ||
}; | ||
/** | ||
* @typedef {{[name: string]: React.ComponentType | string | ComponentMap}} ComponentMap | ||
* @typedef {import('mdx/types').MDXComponents} ComponentMap | ||
*/ | ||
@@ -11,0 +9,0 @@ /** |
@@ -19,3 +19,3 @@ "use strict"; | ||
/** | ||
* @typedef {{[name: string]: React.ComponentType | string | ComponentMap}} ComponentMap | ||
* @typedef {import('mdx/types').MDXComponents} ComponentMap | ||
*/ | ||
@@ -22,0 +22,0 @@ |
@@ -154,3 +154,5 @@ "use strict"; | ||
} else { | ||
loader = fileType; | ||
loader = | ||
/** @type import('esbuild').Loader */ | ||
fileType; | ||
} | ||
@@ -157,0 +159,0 @@ |
{ | ||
"name": "mdx-bundler", | ||
"version": "6.0.2", | ||
"version": "6.0.3", | ||
"description": "Compile and bundle your MDX files and their dependencies. FAST.", | ||
@@ -58,2 +58,3 @@ "main": "dist/index.js", | ||
"@types/jsdom": "^16.2.13", | ||
"@types/mdx": "^2.0.1", | ||
"@types/react": "^17.0.17", | ||
@@ -60,0 +61,0 @@ "@types/react-dom": "^17.0.9", |
@@ -366,2 +366,4 @@ <div align="center"> | ||
Global external configuration options: https://www.npmjs.com/package/@fal-works/esbuild-plugin-global-externals | ||
Here's an example: | ||
@@ -728,2 +730,3 @@ | ||
<td align="center"><a href="https://caspertheghost.me"><img src="https://avatars.githubusercontent.com/u/53900565?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Casper</b></sub></a><br /><a href="https://github.com/kentcdodds/mdx-bundler/commits?author=Dev-CasperTheGhost" title="Code">๐ป</a></td> | ||
<td align="center"><a href="http://a7sc11u.dev"><img src="https://avatars.githubusercontent.com/u/803868?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Apostolos Christodoulou</b></sub></a><br /><a href="https://github.com/kentcdodds/mdx-bundler/commits?author=a7sc11u" title="Documentation">๐</a></td> | ||
</tr> | ||
@@ -730,0 +733,0 @@ </table> |
48347
770
18