Skip to content

DamienVesper/spritesheet-webpack-plugin

Repository files navigation

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"
    }]
}),

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published