Open mdunbavan opened 9 years ago
Hey @mdunbavan, I'm getting the same issue with gulp-imagemin. Perhaps I will reference this in an issue there, though I'll probably be pointed to post it on SO.
I'm getting the same issue with gulp-imagemin. I'm using OS X El Capitan.
var elixir = require('laravel-elixir');
require('laravel-elixir-imagemin');
elixir.config.images = {
folder: 'public/images',
outputFolder: 'public/images'
};
elixir(function(mix) {
mix.imagemin();
});
+1
+1
I am on El Capitan too
+1 same here
+1
Maybe this help someone =)
Old syntax
.imagemin('./resources/assets/img', 'public/assets/img/', {
optimizationLevel: 3,
progressive: true,
interlaced: false,
svgoPlugins: [{
removeViewBox: false
}]
})
New syntax
elixir.config.images = {
folder: 'img',
outputFolder: 'assets/img'
};
.imagemin({
optimizationLevel: 3,
progressive: true,
interlaced: false,
svgoPlugins: [{
removeViewBox: false
}]
})
Hi there! Still not working :( Any ideas?
+1
same - following
+1
+1 Ubuntu i think is the node version
Hi,
I have just installed this into my laravel project and I have the setup as follows:
When I do
gulp watch
I get the message title output and no images are changed at all. In my /resources/img/ folder I have got the image but nothing is being touched.Is this a bug?