webpack-spritesmith
webpack-spritesmith copied to clipboard
Webpack plugin that converts set of images into a spritesheet and SASS/LESS/Stylus mixins
Bumps [thenify](https://github.com/thenables/thenify) from 3.3.0 to 3.3.1. Changelog Sourced from thenify's changelog. 3.3.1 / 2020-06-18 fixes [0d94a24] - fix: remove eval (#30) (Yiyu He ) Commits 1d054b4 Release 3.3.1 0d94a24 fix:...
Bumps [ajv](https://github.com/ajv-validator/ajv) from 6.4.0 to 6.12.6. Release notes Sourced from ajv's releases. v6.12.6 Fix performance issue of "url" format. v6.12.5 Fix uri scheme validation (@ChALkeR). Fix boolean schemas with strictKeywords...
how to set max size, sometimes the generated sprite.png is too big
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.5 to 1.0.7. Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=path-parse&package-manager=npm_and_yarn&previous-version=1.0.5&new-version=1.0.7)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.2.0 to 4.16.6. Changelog Sourced from browserslist's changelog. 4.16.6 Fixed npm-shrinkwrap.json support in --update-db (by Geoff Newman). 4.16.5 Fixed unsafe RegExp (by Yeting Li). 4.16.4 Fixed unsafe...
const templateFunction = function (data) { console.log(data.sprites[0].image); var shared = `@mixin sprite_${prefix} { background-image: url(I); background-size: SWpx SHpx; }` .replace('I', data.sprites[0].image) .replace('SW', data.spritesheet.width) .replace('SH', data.spritesheet.height); var perSprite = data.sprites .map(function...
fix https://github.com/mixtur/webpack-spritesmith/issues/94
``` High Prototype Pollution Package handlebars Dependency of webpack-spritesmith [dev] Path webpack-spritesmith > spritesheet-templates > handlebars More info https://npmjs.com/advisories/1164 Moderate Denial of Service Package handlebars Dependency of webpack-spritesmith [dev] Path...
Hey! My path to the sprite breaks down. When I check the code I see something like this: `background-image: url(D:OSPanelomainsjusttestrontendweb_newimg_originalspagesprofilesprite.png)` This is my config: ``` // Webpack v4 const path...