Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

webpack-audio-sprite-plugin

mattsurabian9MIT0.1.0

A plugin and loader that work together to automate the generation of audio sprites and manifest objects for required audio files.

webpack, loader, plugin, audio, sound, files, sprite, spritesheet, sprite-sheet

readme

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