Comments (3)
I tried your config here and it works for me. Seems like for some unknown reason your Grunt is dumping your files with the dot config as true.
Please try to disable this like the example bellow:
smushit: {
group1: {
cwd: '',
dot: false,
expand: true,
src: ['images/**/*.png'],
dest: 'dist/images',
ext: '.png'
},
},
Source: http://gruntjs.com/configuring-tasks#files
from grunt-smushit.
Heldr, thanks for the response. Oddly enough, that didn't fix it.
I had another instance of smushit treating the configuration options differently than other grunt plugins (apps?) but can't remember it.
from grunt-smushit.
Yahoo stopped maintaining smash.it web service
http://www.phpied.com/smush-it-is-dead-long-live-smushing/
So, this project will be deprecated. π’
from grunt-smushit.
Related Issues (20)
- 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
- Deprecate project HOT 1
- Recreate folder structure in destination? HOT 8
- Won't generate compressed images HOT 10
- please donβt break when image not found 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.