Brocfile.js 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. outputPaths: {
  8. app: {
  9. html: 'index.html',
  10. css: {
  11. 'app': 'misago/css/misago.css'
  12. },
  13. js: 'misago/js/misago.js'
  14. },
  15. vendor: {
  16. css: 'misago/css/vendor.css',
  17. js: 'misago/js/vendor.js'
  18. }
  19. }
  20. });
  21. // Use `app.import` to add additional libraries to the generated
  22. // output files.
  23. //
  24. // If you need to use different assets in different
  25. // environments, specify an object as the first parameter. That
  26. // object's keys should be the environment name and the values
  27. // should be the asset to use in that environment.
  28. //
  29. // If the library that you are including contains AMD or ES6
  30. // modules that you would like to import into your application
  31. // please specify an object with the list of modules as keys
  32. // along with the exports of each module as its value.
  33. app.import('vendor/bootstrap.js');
  34. app.import('vendor/testutils/jquery.mockjax.js', { type: 'test' });
  35. app.import('vendor/testutils/django-js-catalog.js', { type: 'test' });
  36. app.import('vendor/testutils/misago-preload-data.js', { type: 'test' });
  37. module.exports = app.toTree();