require.config({ baseUrl: "js", paths: { "leaflet": "../bower_components/leaflet/dist/leaflet", "leaflet.label": "../bower_components/Leaflet.label/dist/leaflet.label", "moment": "../bower_components/moment/min/moment-with-locales.min", }, shim: { } }) require(["main", "helper/lib"], function (main) { send("GET","config.json").then(main) })