Comments (5)
I'll look into this. Thanks!
P.J.
On Jul 10, 2013, at 12:34 AM, Vibin reddy [email protected] wrote:
Here's the snippet from my Grunt.js
dist:{ files: [{ expand: true, cwd: 'src/img', src:['*.jpg'], dest:'src/img/', ext:'.jpg.webp' }], }, options:{ quality:85, },
},
When ever I run grunt webp, folders with name as [filename].jpg.webp get created and the actual .webp files reside inside them.I don't want this to happen. I want my actual webp files to have the name [filename].jpg.webp and no extra folders should be created (as the dest is already mentioned).
—
Reply to this email directly or view it on GitHub.
from grunt-webp.
Any progress?
I can see that this line in the webp.js file is creating folders. But I'm a beginner at Javascript stuff, so not really sure.
grunt.file.mkdir(dest);
from grunt-webp.
Not yet. It's on my list of things to do, but I haven't had time to look at it yet.
P.J.
On Mon, Jul 15, 2013 at 7:39 AM, Vibin reddy [email protected]
wrote:
Any progress?
I can see that this line in the webp.js file is creating folders. But I'm a beginner at Javascript stuff, so not really sure.grunt.file.mkdir(dest);
Reply to this email directly or view it on GitHub:
#4 (comment)
from grunt-webp.
As far as I can see the bug exists in version 0.0.1 but is fixed in 0.0.2. The problem is 0.0.2 is not in npm repository so people by default download the buggy 0.0.1 release.
from grunt-webp.
As far as I can tell I have version "grunt-webp": "0.0.4" and it still creates unnecessary folders:
src: '_source_images/*.jpg',
dest: 'webp_images/'
creates _source_images IN webp_images wich in fact i don't want it to do.
Also that's over a year old... and still not fixed? ok..
from grunt-webp.
Related Issues (8)
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-webp.