summaryrefslogtreecommitdiff
path: root/packages/integrations/mdx/src/rehype-images-to-component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/integrations/mdx/src/rehype-images-to-component.ts')
-rw-r--r--packages/integrations/mdx/src/rehype-images-to-component.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/integrations/mdx/src/rehype-images-to-component.ts b/packages/integrations/mdx/src/rehype-images-to-component.ts
index d6e5308c4..6676ee323 100644
--- a/packages/integrations/mdx/src/rehype-images-to-component.ts
+++ b/packages/integrations/mdx/src/rehype-images-to-component.ts
@@ -102,6 +102,7 @@ export function rehypeImageToComponent() {
sourceType: 'module',
body: [
{
+ attributes: [],
type: 'ImportDeclaration',
source: {
type: 'Literal',