forked from code4history/Maplat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrjs_config_ui.js
40 lines (40 loc) · 1 KB
/
rjs_config_ui.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
({
baseUrl: 'js',
name: 'config_ui',
out: 'dist/maplat_withoutpromise.js',
include: ['../lib/require.min'],
paths: {
'i18n': '../lib/i18next.min',
'i18nxhr': '../lib/i18nextXHRBackend.min',
'turf': '../lib/turf_maplat.min',
'swiper': '../lib/swiper',
'ol3': '../lib/ol-maplat',
'bootstrap': '../lib/bootstrap-native',
'mapshaper': '../lib/mapshaper_maplat',
'resize': '../lib/detect-element-resize',
'sprintf': '../lib/sprintf',
'page': '../lib/page',
'iziToast': '../lib/iziToast',
'qrcode': '../lib/qrcode'
},
shim: {
'i18nxhr': {
deps: ['i18n']
},
'ol3': {
exports: 'ol'
},
'turf': {
exports: 'turf'
},
'qrcode': {
exports: 'QRCode'
},
'resize': {
exports: 'addResizeListener'
},
'core': {
deps: ['histmap', 'histmap_tin']
}
}
})