aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server/src/main/webapp/javascripts/build.js
blob: 3f238b9080cd5e08d4a11c2c4fd3e2f19a997b1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
({
  appDir: '.',
  baseUrl: '.',
  dir: 'build',
  preserveLicenseComments: false,
  skipDirOptimize: true,

  modules: [
  	{ name: 'quality-gate/app' },
  	{ name: 'issues/app' },
  	{ name: 'measures/app' },
  	{ name: 'common/select-list' }
  ],

  paths: {
    'backbone': 'third-party/backbone',
    'backbone.marionette': 'third-party/backbone.marionette',
    'handlebars': 'third-party/handlebars',
    'moment': 'third-party/moment',
    'select-list': 'common/select-list'
  },

  shim: {
    'backbone.marionette': {
      deps: ['backbone'],
      exports: 'Marionette'
    },
    'backbone': {
      exports: 'Backbone'
    },
    'handlebars': {
      exports: 'Handlebars'
    },
    'moment': {
      exports: 'moment'
    },
    'select-list': {
      exports: 'SelectList'
    }
  }
})