This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// use this in Brocfile.js | |
// Sample if using the ArcGIS API for JavaScript | |
var app = new EmberApp({ | |
srcTag: 'https://js.arcgis.com/3.13/', // only needed for CDN, will default to 'built.js' if useRequire = true | |
useRequire: false, // if this is true, srcTag via options is ignored | |
useDojo: false, // if this is true, will inject the Dojo loader instead of RequireJS | |
locale: 'en-us', // will use RequireJS i18n to set the localization | |
amdPackages: [ // user defined AMD packages to search for in application | |
'esri','dojo','dojox','dijit', | |
'put-selector','xstyle','dgrid' | |
], | |
amdBase: 'bower_components/amdlibrary', // optional - base folder of AMD library | |
// RequireJS configuration options | |
// Please refere to RequireJS docs for more information | |
// http://requirejs.org/docs/optimization.html | |
requireConfig: { | |
include: [ | |
'foo/bar/baz' | |
], | |
exclude: [ | |
'lorem/ipsum' | |
], | |
paths: { | |
'plugins/plugin': 'empty:' | |
} | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment