webpack-audio-sprite-plugin

0.1.0 • Public • Published

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

Package Sidebar

Install

npm i webpack-audio-sprite-plugin

Weekly Downloads

2

Version

0.1.0

License

MIT

Last publish

Collaborators

  • mattsurabian