Skip to content

Latest commit

 

History

History
25 lines (22 loc) · 1013 Bytes

README.md

File metadata and controls

25 lines (22 loc) · 1013 Bytes

spritesheet-webpack-plugin

A Webpack plugin that generates spritesheets on-the-fly.


Built using @pencil.js/spritesheet and detect-edges.

Usage

To use this plugin in your Webpack configuration, add this to your plugins list:

new SpritesheetWebpackPlugin({
    patterns: [{
        rootDir: "path/to/source/directory",
        outDir: "path/to/output/directory",
        filename: "atlas.png"
    }]
}),