Well, enough talk. Here is a quick guide.
Step 1: Installation
The first step is to download, install and launch Koala. This is what you should see the first time you launch Koala.
Step 2: Adding a project
Step 3: Compressing
Step 4: Combining files
Now that you now how to use Koala, we will go to the next step of joining files together. Let’s say you have the following JS files you want to join together:
If we wanted all these files to be combined inside a file called all.js, then we would create an empty file with a similar name. Koala would then display your project as follows:
Now open all.js in an editor and type the following following inside:
// @koala-append "alpha.js" // @koala-append "beta.js" // @koala-append "gamma.js" // @koala-append "delta.js"
- @koala-append will paste the referenced file after the mentioned statement
- @koala-prepend will paste the referenced file before the mentioned statement
So now all we have to do is select all.js and click compile. Koala will then “paste” all the referenced files inside all.js, and produce a minified file. That’s it!