0.1.0 • Published 8 years ago

webpack-audio-sprite-plugin v0.1.0

Weekly downloads
2
License
MIT
Repository
-
Last release
8 years ago

This plugin and loader are still in active development and not feature complete

Webpack Audio Sprite Plugin & Loader

Build Status Build Status

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()
    ]
}