Skip to content
A Docusaurus v2 plugin to support image files with a webpack url-loader and file-loader fallback.
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
docusaurus-image-loader.js
package.json

README.md

docusaurus-image-loader

This plugin for Docusaurus v2 inlines small (<8KB) images and copies larger media.

Installation:

yarn add docusaurus-image-loader # Or, npm install docusaurus-image-loader

Usage:

// docusaurus.config.js

module.exports = {
  ...
  plugins: [
    ["docusaurus-image-loader"]
  ],
  ...
}
You can’t perform that action at this time.