Code Monkey home page Code Monkey logo

Comments (4)

heldr avatar heldr commented on July 18, 2024

I'm interested, but it's my free time project. Anyway I will improve it asap.

from grunt-smushit.

Melindrea avatar Melindrea commented on July 18, 2024

Oh, I figured, which is exactly why i asked you if you wanted me to look into it. You've done a good task, and if this is stuff I need, but not stuff you need, it makes a lot more sense that I work on it, doesn't it?

I mainly asked you to make sure you weren't working on that exact functionality, because there is little need for two people to work on the exact same thing =)

from grunt-smushit.

Melindrea avatar Melindrea commented on July 18, 2024

I've managed to get the first step done, which is that it takes a folder (excluding subfolder) and goes through each of those files. Not written cases where you have several folders to one destination folder, nor any way to state that you want to go through subfolders as well. The second two I'm planning on working on, but the first one was the most important for me, so if you're interested, I have it.

from grunt-smushit.

heldr avatar heldr commented on July 18, 2024

I've made some updates and now it also works with subfolders, but doesn't create the same output path structure.

Example:
path1/car.png and path1/path2/house.png turn to optimized files output/car.png and output/house.png

You could do a pull request improving it if you want :)

Thanks for the feedbacks and tips.

from grunt-smushit.

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.