preload-image-loader

1.0.0 • Public • Published

preload-image-loader

A loader to preload images.

Example

{
  module: {
    loaders: [
          {
            test: /\.(jpe?g|png|gif|svg)$/i,
            loaders: [
              'preload-image', // add preload-image-loader here
              'file'
            ]
          },
    ]
  }
}

Credits

This loader was initially written by Tobias Koppler (@sokra), author of Webpack. Fixed by Cole Turner (@colepatrickturner).

Readme

Keywords

Package Sidebar

Install

npm i preload-image-loader

Weekly Downloads

21

Version

1.0.0

License

MIT

Last publish

Collaborators

  • cpt