Comments (4)
I'm interested, but it's my free time project. Anyway I will improve it asap.
from grunt-smushit.
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.
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.
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)
- Recreate folder structure in destination? HOT 8
- Won't generate compressed images HOT 10
- please donβt break when image not found HOT 1
- Update to be grunt 0.4.x compatible HOT 2
- Multiple directories
- Grunt 0.4 Release HOT 4
- Scaffold grunt-init-gruntplugin
- Single file replacement HOT 1
- Output Folder
- Create service option HOT 1
- Enable Travis CI hook and insert image badge
- Refusing to install grunt-smushit as a dependency of itself HOT 3
- Linting tasks/smushit.js...ERROR HOT 2
- Other grunt tasks don't execute after smushit HOT 5
- Option for choice between lossless/lossy? HOT 3
- Wrong target path when used with cwd HOT 1
- Wrong output directory created when using current directory pattern (./) in src
- Option for "quieter" output? HOT 1
- Tries to compress .svn-base files HOT 3
- Deprecate project HOT 1
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 grunt-smushit.