Hey guys.
I'm currently "exeperimenting" with custom build.
I've created a text file where I've listed all modules I need :
"dijit/TooltipDialog",
"dijit/popup",
"dojo/dom-style",
"esri/Color",
"esri/InfoTemplate",
"esri/SpatialReference",
"esri/geometry/Extent",
"esri/geometry/Point",
"esri/geometry/webMercatorUtils",
"esri/graphic",
"esri/layers/ArcGISDynamicMapServiceLayer",
"esri/layers/FeatureLayer",
"esri/layers/GraphicsLayer",
"esri/map",
"esri/renderers/HeatmapRenderer",
"esri/symbols/CartographicLineSymbol",
"esri/symbols/Font",
"esri/symbols/PictureMarkerSymbol",
"esri/symbols/SimpleFillSymbol",
"esri/symbols/SimpleLineSymbol",
"esri/symbols/SimpleMarkerSymbol",
"esri/symbols/TextSymbol",
"esri/tasks/QueryTask",
"esri/tasks/query",
"esri/toolbars/draw"
To create this list, I've just gone through the code and took out all require.
The build created seems fine.
But when trying to use it in a simple web page, it looks like the dojo/dojo.js (the errors are triggering from this file) is trying to load some files that do not exist :
dojo/main.js
dojox/gfx/svg.js
However, the build do not include these files.
I might be missing something, I'm not so familiar with AMD modules anyway.
What could be the problem ? From the build ? From my code where I missed stuff ?
Any ideas/tips
.
Thanks.
Br,
Vincent