This only tells Dojo about moment.js and lang/*.js.
}
/*global define:false */
if (typeof define === "function" && define.amd) {
- define("moment", [], function () {
+ define(function () {
return moment;
});
}
--- /dev/null
+var profile = {
+ resourceTags: {
+ ignore: function(filename, mid){
+ // only include moment/moment
+ return mid != "moment/moment";
+ },
+ amd: function(filename, mid){
+ return /\.js$/.test(filename);
+ }
+ }
+};
"scripts": {
"test": "grunt"
},
- "ender": "./ender.js"
+ "ender": "./ender.js",
+ "dojoBuild": "package.js"
}