Changed lodash to underscore

master
Ivan Malagon 8 years ago
parent df4694b171
commit af8bcbb87b

@ -1,7 +1,7 @@
var _ = require('lodash');
var _ = require('underscore');
module.exports = function (source) {
this.cacheable && this.cacheable();
var template = _.template(source, null, this.options.tplSettings);
return 'var _ = require(\'lodash\');\nmodule.exports = ' + template;
return 'var _ = require(\'underscore\');\nmodule.exports = ' + template;
};

@ -9,8 +9,7 @@
},
"keywords": [
"ejs",
"underscrore",
"lodash",
"underscore",
"_",
"webpack",
"loader",
@ -22,6 +21,6 @@
},
"license": "MIT",
"peerDependencies": {
"lodash": "*"
"underscore": "*"
}
}

Loading…
Cancel
Save