Combine javascript files to all.min.js

Henrik Hansen
  • 2
  • 21 Jul '21


I have to make some changes to the file and afterwards I have compiled it to js. But after I have combined all the js files in vendor and js folders to a file named all.js and used Uglify to create a new all.min.js file I get the error below.

I there a right way to combine these files? When i combine them i first add the vendor files, the, and then the rest.

2021-07-21 08_36_04-Deleted Topic - Spirit – Google Chrome.jpg

Esteban C Borsani
  • 19 Aug '21

There is an specific order, and there are also commands to do all that. There's a build command, see…