minifierbeans icon indicating copy to clipboard operation
minifierbeans copied to clipboard

Combine/concat js, css files to one file

Open Chris2011 opened this issue 9 years ago • 5 comments

It would be nice, to have an option to combine/concat js, css and maybe html and json files to one while minification. I don't know how is it working because of the order of some files but maybe with a separate meta file which contains the order or smth like that I don't know. I will not put it into the files itselfs, but it could be an option too.

Cheers

Chris

Chris2011 avatar Sep 26 '16 12:09 Chris2011

That would really be a nice feature! +1

Nukleo avatar Oct 06 '16 09:10 Nukleo

That would really be a nice feature! +1

lucasschirm avatar Oct 29 '16 20:10 lucasschirm

I think this is similar to this ticket #2

Chris2011 avatar Mar 07 '17 17:03 Chris2011

Could this be a solution for this?

+++++++++++ bundles.js ++++++++ #import ./../myJSFiles/file1.js #import ./../myJSFiles/file2.js

seems similiar to the scss @import thing.

Chris2011 avatar Mar 07 '17 17:03 Chris2011

I'm struggeling with myself, whether this should be part of this plugin or not. Will think about it. And maybe I need more possible solutions how we can achieve this. For example, how about the prio of the files? Is file 1 dependent from file 2 we need to correct direction.

Chris2011 avatar Sep 03 '20 18:09 Chris2011