postcss-sprites
postcss-sprites copied to clipboard
Generate sprites from stylesheets.
Following [official plugin migration guide](https://evilmartians.com/chronicles/postcss-8-plugin-migration), I’ve added support for PostCSS 8.
I use code to express my mean: ``` css // aa.css .a { background: url(./img/sprites/default/table/edit-icon.png) } // bb.css .b { background: url(./img/sprites/default/table/offline-icon.png) } ``` ``` javascript // main.js require('aa.css'); require('bb.css'))...
postcss-sprites: An error occurred while processing files - Invalid file signature what is wrong?
npm audit highlights an issue with one of the dependencies static-eval - there's an advisory that requires an upgrade see https://www.npmjs.com/advisories/758
Could you please upgrade deps to use postcss 7.x? Actually the better solution here would be moving postcss from dependencies to peerDependencies, as this library doesn't encapsulate postcss API, it's...
`postcss-sprites` is a plugin for `postcss` thus should include `postcss` as `peerDependency` and not as `depedency` in package.json. Currently I have several postcss plugins and all of them use different...
Hi, the plugin is quite helpful. But I may find a bug in function `getImageUrl`, about the regular expression `/url(?:\(['"]?)(.*?)(?:['"]?\))/gi`. It can't match the background file that include brackets in...
I'm using postcss-sprites with Laravel Mix. Currently I have 2 issues: 1) Generated images contain elements of other icons, so I decided to add spritesmith.padding, but it doesn't works. Sprite...
![image](https://user-images.githubusercontent.com/6948367/33725617-a49f6692-dbad-11e7-8d62-5a6d1f5810f3.png) ![image](https://user-images.githubusercontent.com/6948367/33725748-02bd1d64-dbae-11e7-8a09-c8f847e4a327.png) What should I do ? thanks
Similar to the webpack AggressiveSplittingPlugin https://medium.com/webpack/webpack-http-2-7083ec3f3ce6 Automatically split all the spritesheets into smaller sheets: This improves the caching while worsens the compression (and transferring for HTTP/1). When the application is...