forked from lobbywatch/lobbywatch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
require-build-custom.js
69 lines (69 loc) · 3.28 KB
/
require-build-custom.js
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
({
// https://github.com/requirejs/r.js/blob/master/build/example.build.js
baseUrl: 'public_html/bearbeitung/components/js',
// Copied from public_html/bearbeitung/components/js/require-config.js: begin
paths: {
'jquery': 'libs/jquery/jquery.min',
'moment': 'libs/moment',
'bootstrap': 'libs/bootstrap',
'bootbox': 'locales/bootbox_locale',
'class': 'libs/class',
'microevent': 'libs/microevent',
'underscore': 'libs/underscore',
'jquery.bind-first': 'libs/jquery/jquery.bind-first',
'jquery.plainoverlay': 'libs/jquery/jquery.plainoverlay',
'jquery.resize': 'libs/jquery/jquery.resize',
'jquery.validate': 'libs/jquery/jquery.validate',
'jquery.hotkeys': 'libs/jquery/jquery.hotkeys',
'jquery.query': 'libs/jquery/jquery.query',
'jquery.highlight': 'libs/jquery/jquery.highlight',
'jquery.form': 'libs/jquery/jquery.form',
'jquery.stickytableheaders': 'libs/jquery/jquery.stickytableheaders',
'jquery.magnific-popup': 'libs/jquery/jquery.magnific-popup',
'jquery.maskedinput': 'libs/jquery/jquery.maskedinput',
'jquery.popover': 'libs/jquery/jquery.popover',
'datepicker': 'libs/bootstrap-datetimepicker.min',
'pgui.admin_panel': 'pgui.admin_panel',
'mootools-core': 'libs/mootools-core',
'jquery.tmpl': 'libs/jquery/jquery.tmpl',
'knockout': 'libs/knockout',
'trumbowyg': 'libs/trumbowyg/trumbowyg',
'trumbowyg.colors': 'libs/trumbowyg/plugins/colors/trumbowyg.colors.min',
'trumbowyg.specialchars': 'libs/trumbowyg/plugins/specialchars/trumbowyg.specialchars.min',
'trumbowyg.base64': 'libs/trumbowyg/plugins/base64/trumbowyg.base64.min',
'trumbowyg.fontfamily': 'libs/trumbowyg/plugins/fontfamily/trumbowyg.fontfamily.min',
'trumbowyg.fontsize': 'libs/trumbowyg/plugins/fontsize/trumbowyg.fontsize.min',
'trumbowyg.table': 'libs/trumbowyg/plugins/table/trumbowyg.table.min',
'trumbowyg.preformatted': 'libs/trumbowyg/plugins/preformatted/trumbowyg.preformatted.min',
'trumbowyg.history': 'libs/trumbowyg/plugins/history/trumbowyg.history.min',
'trumbowyg.template': 'libs/trumbowyg/plugins/template/trumbowyg.template',
'bootstrap-file-input': 'libs/fileinput',
'jquery.autocomplete': 'libs/jquery/jquery.autocomplete',
'signature_pad': 'libs/signature_pad',
'bootstrap.toggle': 'libs/bootstrap-toggle'
},
shim: {
'jquery.stickytableheaders': ['jquery'],
'jquery.hotkeys': ['jquery'],
'knockout': ['jquery.tmpl'],
'datepicker': ['moment'],
'bootstrap': ['jquery'],
'trumbowyg.colors': ['trumbowyg'],
'trumbowyg.specialchars': ['trumbowyg'],
'trumbowyg.base64': ['trumbowyg'],
'trumbowyg.fontfamily': ['trumbowyg'],
'trumbowyg.fontsize': ['trumbowyg'],
'trumbowyg.table': ['trumbowyg'],
'trumbowyg.preformatted': ['trumbowyg'],
'trumbowyg.emoji': ['trumbowyg'],
'trumbowyg.history': ['trumbowyg'],
'trumbowyg.template': ['trumbowyg'],
'bootstrap.toggle' : ['jquery']
}
// Copied from public_html/bearbeitung/components/js/require-config.js: end
,
name: "main",
// include: ["foo/bar/bee"],
insertRequire: ['main'],
out: "public_html/bearbeitung/components/js/main-bundle-custom.js",
})