Skip to content

Support gifs in ideal image plugin #4115

@semoal

Description

@semoal

🐛 Bug Report

Plugin itsel supports .gif (on webpack configuration) but this plugin doesn't work with gif https://github.com/endiliey/responsive-loader (i guess)

Have you read the Contributing Guidelines on issues?

Yes

To Reproduce

<Image
  img={require("../../static/img/real-code.gif")}
/>

Expected behavior

To work correctly.

Actual Behavior

./static/img/real-code.gif
Error: No mime type for file with extension gifsupported
 @ ./src/pages/index.tsx 1:9091-9132
 @ ./.docusaurus/registry.js
 @ ./node_modules/@docusaurus/core/lib/client/exports/ComponentCreator.js
 @ ./.docusaurus/routes.js
 @ ./node_modules/@docusaurus/core/lib/client/clientEntry.js
 @ multi ./node_modules/react-dev-utils/webpackHotDevClient.js ./node_modules/@docusaurus/core/lib/client/clientEntry.js

Your Environment

  • Docusaurus version used: alpha@70

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureThis is not a bug or issue with Docusausus, per se. It is a feature request for the future.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions