Iv've got three files: a.min.js, b.min.js and c.js
I would like to minify c.js, and then combine a + b + c into a unique file using laravel elixir. Is it possible? Now I'm using this script:
elixir(mix => {
mix.sass('app.scss')
.webpack('app.js')
.combine([
'resources/assets/js/plugins/a.min.js',
'resources/assets/js/plugins/b.min.js',
'resources/assets/js/plugins/c.js'
], 'public/js/plugins/xxx.js');
});
But obviously c.js is not minified.
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2fJtP8B
via IFTTT
Aucun commentaire:
Enregistrer un commentaire