mardi 27 juin 2017

Laravel mix .copy in the same directory?

So laravel mix command mix.copy seems to optimize images however, I need the images in the exact same file structure so I have images folder in public directory and I want to run mix.copy which would optimize the images and keep them in the same directory, however at this moment when I run it removes first image and throws an error:

Error: ENOENT: no such file or directory, open 'C:\xampp\htdocs\laravel\public\images\default.gif'

The file was there before running npm run prod



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire