laravel-elixir-imagemin icon indicating copy to clipboard operation
laravel-elixir-imagemin copied to clipboard

custom directories supported?

Open huglester opened this issue 9 years ago • 8 comments

Hello, I have added:

elixir.config.images = {
    folder: './addons/default/themes/defeault/gittheme/img/',
    outputFolder: './assets/build/img/'
};

Later in the code: mix.imagemin(), But I get: [00:03:56] Starting 'imagemin'... [00:03:56] gulp-imagemin: Minified 0 images [00:03:56] Finished 'imagemin' after 11 ms

What I could be doing wrong?

huglester avatar Apr 12 '16 21:04 huglester

same mistake

Metrakit avatar May 08 '16 10:05 Metrakit

I get the same result.. only works with the default paths

jeffochoa avatar May 10 '16 20:05 jeffochoa

+1

fdeneux avatar Jun 14 '16 12:06 fdeneux

I have same problem too.

bmf-san avatar Jun 25 '16 03:06 bmf-san

+1

fobus42 avatar Jul 13 '16 11:07 fobus42

+1

L1lle avatar Oct 25 '16 07:10 L1lle

This seems to work for me

elixir.config.assetsPath = './theme-assets';
elixir.config.publicPath = './httpdocs/wp-content/themes/xxx/assets';

elixir.config.images = {
    folder: 'images',
    outputFolder: 'images'
};

Snaver avatar Jan 12 '17 10:01 Snaver

i've the same issue too

AlaaAttya avatar Mar 29 '17 12:03 AlaaAttya