1.0.4 • Published 3 years ago

md-imgage-error-loader v1.0.4

Weekly downloads
9
License
MIT
Repository
github
Last release
3 years ago

md-imgage-error-loader

中文文档

Process image files that do not exist in the .md file and replace them

Installation

npm i md-imgage-error-loader

Usage

webpack

// ... omit some configuration
use: [
  {
    loader: 'md-imgage-error-loader',
    options: {
      // A string or a function that accepts a replacement array
      src: 'http://xxxx.png',
      // or
      src: (currentName, currentPath) => {
        // xxx
      },
    },
  },
];

Agreement

MIT License

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago