Skip to content
#

svg-sprites

Here are 122 public repositories matching this topic...

olets
olets commented May 28, 2019

#477 and a couple different #478 bugs stem from the expectation that setting prebuild: [] or postbuild: [] is a way of saying "prebuild: nothing" and "postbuild: nothing". In fact, the empty array creates problems (see the linked issues for examples)

This should at least be documented. Supporting [] as "nothing" would be an easy enhancement

MwumLi
MwumLi commented Oct 3, 2016

I use code to express my mean:

// aa.css
.a {
  background: url(./img/sprites/default/table/edit-icon.png)
}

// bb.css
.b {
  background: url(./img/sprites/default/table/offline-icon.png)
}
// main.js
require('aa.css');
require('bb.css'))

when I use webpack, generated a sprite : sprite.table.png, but only offline-icon was bundle into sprite.table.png, the

hiousi
hiousi commented Apr 1, 2019

external-svg-sprite-loader helps me save a good clean sprite.[hash:8].svg file!
I've tried to use it with webpack-manifest-plugin and webpack-assets-manifest to generate a manifest.json, used to find the corresponding compiled /path/to/sprite.svg -> /path/to/sprite.[hash:8].svg

But I can not obtain the good filename and path to my sprite.svg file. Note that webpack-manifest-plugin and webpack-

Improve this page

Add a description, image, and links to the svg-sprites topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the svg-sprites topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.