Changed lodash to underscore

This commit is contained in:
Ivan Malagon 2017-03-16 13:34:51 +01:00
parent df4694b171
commit af8bcbb87b
2 changed files with 4 additions and 5 deletions

View File

@ -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;
};

View File

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