mardi 8 décembre 2015

ember-cli merge several js into vendor.js without calling app.import for each js-lib

Is there a way to import several js-libs into vendor.js without the need to call app.import for each import.

Similar to the new Funnel Copy Style.

module.exports = function(defaults) {
  var app = new EmberApp(defaults);

  app.import();
  app.import();

  var Assets = new Funnel('bower_components/webix', {
      srcDir: "codebase",
      include:["fonts/*","webix_debug.js","webix.css","skins/flat.css"],
  });

  return app.toTree(Assets);
};




Aucun commentaire:

Enregistrer un commentaire