Coder Social home page Coder Social logo

Gulp plugin about dr-svg-sprites HOT 9 CLOSED

drdk avatar drdk commented on July 26, 2024
Gulp plugin

from dr-svg-sprites.

Comments (9)

shakyShane avatar shakyShane commented on July 26, 2024

If this isn't already in the works, I'd be happy to do it.

from dr-svg-sprites.

phloe avatar phloe commented on July 26, 2024

We haven't made any plans just yet for a gulp version - but knock yourself out ;)

from dr-svg-sprites.

davidspiess avatar davidspiess commented on July 26, 2024

I'd be happy to help too :)

from dr-svg-sprites.

shakyShane avatar shakyShane commented on July 26, 2024

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.

shakyShane avatar shakyShane commented on July 26, 2024

Got the absolute basics working:

https://github.com/shakyShane/gulp-svg-sprites

http://quick.as/v9ah8qr

from dr-svg-sprites.

davidspiess avatar davidspiess commented on July 26, 2024

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.

shakyShane avatar shakyShane commented on July 26, 2024

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.

davidspiess avatar davidspiess commented on July 26, 2024

It was only an idea, nothing you have to! :))
I will close this issue now. Your gulp plugin works great!

from dr-svg-sprites.

phloe avatar phloe commented on July 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.