Changed lodash to underscore
This commit is contained in:
parent
df4694b171
commit
af8bcbb87b
4
index.js
4
index.js
@ -1,7 +1,7 @@
|
|||||||
var _ = require('lodash');
|
var _ = require('underscore');
|
||||||
|
|
||||||
module.exports = function (source) {
|
module.exports = function (source) {
|
||||||
this.cacheable && this.cacheable();
|
this.cacheable && this.cacheable();
|
||||||
var template = _.template(source, null, this.options.tplSettings);
|
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": [
|
"keywords": [
|
||||||
"ejs",
|
"ejs",
|
||||||
"underscrore",
|
"underscore",
|
||||||
"lodash",
|
|
||||||
"_",
|
"_",
|
||||||
"webpack",
|
"webpack",
|
||||||
"loader",
|
"loader",
|
||||||
@ -22,6 +21,6 @@
|
|||||||
},
|
},
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"lodash": "*"
|
"underscore": "*"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user