Skip to content

Instantly share code, notes, and snippets.

@odoe
Created June 29, 2015 15:10
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save odoe/b01d9b4996a415d8a5bb to your computer and use it in GitHub Desktop.
// 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