spritesheet-webpack-plugin
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

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

Package Sidebar

Install

npm i spritesheet-webpack-plugin

Weekly Downloads

2

Version

0.0.1

License

MIT

Unpacked Size

35 kB

Total Files

27

Last publish

Collaborators

  • damienvesper