preload-image-loader
v1.0.0
Published
A webpack loader to preload images.
Downloads
68
Readme
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).