Search code examples
coffeescriptpackbrunchchaplinjs

ChaplinJS + Brunch, can I produce only one JS file?


I would like to optimize the loading time of my website which is built on Chaplin + brunch (coffeescript). How could I pack everything so that only one js file would be seen / loaded by the browser ?

It is mainly a workflow question, I don't know if this can be achieved by brunch itself or if I should rely on an external package such as webpack or even jspm.


Solution

  • That does it: config.files.javascripts.joinTo = 'app.js'

    http://brunch.io/docs/config#-files-