Brocfile.js 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /* global require, module */
  2. var EmberApp = require('ember-cli/lib/broccoli/ember-app');
  3. var app = new EmberApp({
  4. fingerprint: {
  5. enabled: false
  6. },
  7. vendorFiles: {
  8. 'handlebars.js': null
  9. },
  10. outputPaths: {
  11. app: {
  12. html: 'index.html',
  13. css: {
  14. 'app': 'misago/css/misago.css'
  15. },
  16. js: 'misago/js/misago.js'
  17. },
  18. vendor: {
  19. css: 'misago/css/vendor.css',
  20. js: 'misago/js/vendor.js'
  21. }
  22. }
  23. });
  24. // Use `app.import` to add additional libraries to the generated
  25. // output files.
  26. //
  27. // If you need to use different assets in different
  28. // environments, specify an object as the first parameter. That
  29. // object's keys should be the environment name and the values
  30. // should be the asset to use in that environment.
  31. //
  32. // If the library that you are including contains AMD or ES6
  33. // modules that you would like to import into your application
  34. // please specify an object with the list of modules as keys
  35. // along with the exports of each module as its value.
  36. app.import('vendor/bootstrap.js');
  37. app.import('vendor/testutils/jquery.mockjax.js', { type: 'test' });
  38. app.import('vendor/testutils/django-js-catalog.js', { type: 'test' });
  39. app.import('vendor/testutils/misago-preload-data.js', { type: 'test' });
  40. module.exports = app.toTree();