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) {
|
||||
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…
Reference in New Issue
Block a user