ember.jsember-clibroccolijs

Ember: Building app into single js, css file


I am using ember-cli v1.13.8. Ember builds the app into application-name.js and vendor.js and similar named css files. Is there a way to build them into single js and css files, so that in my index.html I can reference just one js and css file instead of two for each?


Solution

  • There is an addon for that ember-cli-concat.

    Basic usage is

    ember install ember-cli-concat
    

    Refer the wiki for complete information on using this addon.