system.conf.js 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. System.config({
  2. defaultJSExtenions: true,
  3. baseURL: 'public',
  4. paths: {
  5. 'moment': 'vendor/moment.js',
  6. "jquery": "vendor/jquery/dist/jquery.js",
  7. 'lodash-src': 'vendor/lodash.js',
  8. "lodash": 'app/core/lodash_extended.js',
  9. "angular": "vendor/angular/angular.js",
  10. "bootstrap": "vendor/bootstrap/bootstrap.js",
  11. 'angular-route': 'vendor/angular-route/angular-route.js',
  12. 'angular-sanitize': 'vendor/angular-sanitize/angular-sanitize.js',
  13. "angular-ui": "vendor/angular-ui/ui-bootstrap-tpls.js",
  14. "angular-strap": "vendor/angular-other/angular-strap.js",
  15. "angular-dragdrop": "vendor/angular-native-dragdrop/draganddrop.js",
  16. "angular-bindonce": "vendor/angular-bindonce/bindonce.js",
  17. "spectrum": "vendor/spectrum.js",
  18. "bootstrap-tagsinput": "vendor/tagsinput/bootstrap-tagsinput.js",
  19. "jquery.flot": "vendor/flot/jquery.flot",
  20. "jquery.flot.pie": "vendor/flot/jquery.flot.pie",
  21. "jquery.flot.events": "vendor/flot/jquery.flot.events",
  22. "jquery.flot.selection": "vendor/flot/jquery.flot.selection",
  23. "jquery.flot.stack": "vendor/flot/jquery.flot.stack",
  24. "jquery.flot.stackpercent": "vendor/flot/jquery.flot.stackpercent",
  25. "jquery.flot.time": "vendor/flot/jquery.flot.time",
  26. "jquery.flot.crosshair": "vendor/flot/jquery.flot.crosshair",
  27. "jquery.flot.fillbelow": "vendor/flot/jquery.flot.fillbelow"
  28. },
  29. packages: {
  30. app: {
  31. defaultExtension: 'js',
  32. },
  33. vendor: {
  34. defaultExtension: 'js',
  35. },
  36. plugins: {
  37. defaultExtension: 'js',
  38. },
  39. test: {
  40. defaultExtension: 'js',
  41. },
  42. },
  43. map: {
  44. text: 'vendor/plugin-text/text.js',
  45. css: 'app/core/utils/css_loader.js'
  46. },
  47. meta: {
  48. 'vendor/angular/angular.js': {
  49. format: 'global',
  50. deps: ['jquery'],
  51. exports: 'angular',
  52. },
  53. }
  54. });