Comments (9)
If this isn't already in the works, I'd be happy to do it.
from dr-svg-sprites.
We haven't made any plans just yet for a gulp version - but knock yourself out ;)
from dr-svg-sprites.
I'd be happy to help too :)
from dr-svg-sprites.
I've taken a look & the current codebase doesn't lend itself well to a streaming interface I'm afraid :(
I'm going to steal all the good bits from this lib & reconstruct it into a streaming module - that way we can easily create a gulp-plugin out of it.
from dr-svg-sprites.
Got the absolute basics working:
https://github.com/shakyShane/gulp-svg-sprites
from dr-svg-sprites.
Cool!! :) I like how you split up the codebase in different modules. Clean & beautiful! What do you both think of merging @shakyShane's architecture changes in this repository? The gulp and grunt plugins should imo only be a lightweight wrapper around dr-svg-sprites.
from dr-svg-sprites.
Thanks! I didn't want to step on anyones toes, but to make it play nicely with streams it required a different approach, that's all. :)
Now I have the challenge of reimplenting the bits I stripped out last night haha!
from dr-svg-sprites.
It was only an idea, nothing you have to! :))
I will close this issue now. Your gulp plugin works great!
from dr-svg-sprites.
I've been off work the last couple of weeks - so I've only had time to comment here sporadically.
@Davbeer I totally agree that it would be ideal to have gulp/grunt/whatever plugins as wrappers (dr-svg-sprites got split out from grunt-dr-svg-sprites to accomodate this sort of thing - but I hadn't foreseen gulp).
I would love to modularise it even further if possible - as long as I can retain the current features (some of them bespoke - granted).
@shakyShane I'll pick and choose some of your ideas back ;)
from dr-svg-sprites.
Related Issues (20)
- template blank lines HOT 5
- Sample SVG files HOT 3
- Mobile Safari iOS canvas size limitation / icons not showing HOT 2
- css unit precision HOT 2
- Add em unit in cssUnit HOT 3
- Add support for svgo options HOT 3
- Unable to use svgo plugins HOT 5
- Installation issue HOT 4
- Why an hour for other suddenly fails? HOT 8
- How to handle states like :hover or :active? HOT 7
- Not sure why layout isn't working HOT 1
- Fatal error: Cannot read property '1' of undefined
- SASS/SCSS Placeholders
- [feature] Support data-uri for preprocessors like sass and less HOT 4
- Error from svg2png HOT 4
- ID clobbering problem HOT 1
- Issue with ordering of icons in sprite HOT 8
- Svg url ramdom param HOT 2
- Gulp version HOT 1
- Custom path HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dr-svg-sprites.