I am using mdx-bundler + remark-mdx-images to output images with mdx blog posts.
I am running into an issue where the input image is valid, but the output image appears to be corrupt (i.e is not visible in browser, and I get this error message from macos Preview when trying to open it):
mdx-bundler version: 9.0.1 node version: v17.8.0 npm version: 8.5.5
I am using mdx-bundler + remark-mdx-images to output images with mdx blog posts.
I am running into an issue where the input image is valid, but the output image appears to be corrupt (i.e is not visible in browser, and I get this error message from macos Preview when trying to open it):
MDX file:
Correctly copied to output dir:
Trying to view it in browser (returns 200 but file isn't visible):
Visiting the file URL directly: