webpack-audio-sprite-plugin
v0.1.0
Published
A plugin and loader that work together to automate the generation of audio sprites and manifest objects for required audio files.
Downloads
6
Maintainers
Readme
This plugin and loader are still in active development and not feature complete
Webpack Audio Sprite Plugin & Loader
When used together this plugin and loader automate the creation of audio sprites and their accompanying manifests. Generated sprites are automatically chunked and sized so they can be delivered intelligently to the browser along with the code that depends upon them.
Usage Example
var AudioSpritePlugin = require("webpack-audio-sprite-plugin");
module.exports = {
module: {
loaders: [
{
test: /\.mp3$/,
loader: AudioSpritePlugin.loader()
}
]
},
plugins: [
new AudioSpritePlugin()
]
}