Adam Peller peller

View gist:6833521
1 2 3 4 5 6 7 8 9 10
module.exports = function(baseUrl, optimize, fileList) {
var fileMap = {};
//probably should do a regexp match rather than pass in a list?
fileList.forEach(function (file) {
fileMap[file] = true;
});
 
var requireJS = require('requirejs');
return function(req, res, next) {
var file = fileMap[req.path];
View sample1.profile.js
1 2 3 4 5 6 7 8 9 10
dependencies = {
// releaseDir: "/path/to/releaseDir",
stripConsole: "normal",
selectorEngine:"acme",
action: "release",
 
layers: [
{
name: "dojo.js",
dependencies: [
Something went wrong with that request. Please try again.