Comments (8)
Not yet, but I'm going to improve it.
Thanks!
from grunt-smushit.
\o/ Thumbs up!
from grunt-smushit.
Please run npm update grunt-smushit
Thanks
from grunt-smushit.
Works well, but is it possible to copy the file even if there are no optimizations? :)
Would be easier to distribute the whole folder, I think.
from grunt-smushit.
Updated :)
from grunt-smushit.
Was this added? My folder structure is not being retained:
img: {
task1: {
src: ['app/assets/img/backgrounds', 'app/assets/img/charts'],
dest: 'build/assets/img'
}
}
from grunt-smushit.
grunt-smushit doesn't support multiple directories as source yet. An alternative approach is creating 2 tasks
smushit: {
backgrounds: {
src: 'app/assets/img/backgrounds',
dest: 'build/assets/img'
},
charts: {
src: 'app/assets/img/charts',
dest: 'build/assets/img'
}
}
Thanks for the feedback
from grunt-smushit.
Now it works with multiple source path:
#12
Thanks for the feedback
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
- Tries to compress .svn-base files HOT 3
- Deprecate project HOT 1
- 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.