From af8bcbb87be2a7ada7c86bba3c14e543fdad5d29 Mon Sep 17 00:00:00 2001 From: Ivan Malagon Date: Thu, 16 Mar 2017 13:34:51 +0100 Subject: [PATCH] Changed lodash to underscore --- index.js | 4 ++-- package.json | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/index.js b/index.js index 72154f0..574005a 100644 --- a/index.js +++ b/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; }; diff --git a/package.json b/package.json index ed127f7..0cbffd9 100644 --- a/package.json +++ b/package.json @@ -9,8 +9,7 @@ }, "keywords": [ "ejs", - "underscrore", - "lodash", + "underscore", "_", "webpack", "loader", @@ -22,6 +21,6 @@ }, "license": "MIT", "peerDependencies": { - "lodash": "*" + "underscore": "*" } }