From 8a6ec9de17f8813dbff3da4140b4d70af1395a3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nemanja=20Nedeljkovi=C4=87?= Date: Tue, 7 Jun 2016 13:19:20 +0200 Subject: [PATCH 1/3] Update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 80d4079..4dbf95f 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ }, "homepage": "https://github.com/bazilio91/ejs-compiled-loader", "dependencies": { - "ejs": "^1.0.0", + "ejs": "git+https://github.com/nemanjan00/ejs.git", "uglify-js": "~1.3.4" } } From 63c8de169c2afa589ba0e2a8cf14abd9f6e181ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nemanja=20Nedeljkovi=C4=87?= Date: Tue, 7 Jun 2016 13:19:48 +0200 Subject: [PATCH 2/3] Update index.js --- index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 6ec4dbd..e32afaf 100644 --- a/index.js +++ b/index.js @@ -6,7 +6,8 @@ module.exports = function (source) { this.cacheable && this.cacheable(); var template = ejs.compile(source, { client: true, - filename: '.' + filename: '.', + webpack: this }); var ast = uglify.parser.parse(template.toString()); From 499d1e39247fd72462fd791440f1b9939284d337 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nemanja=20Nedeljkovi=C4=87?= Date: Tue, 7 Jun 2016 17:54:25 +0200 Subject: [PATCH 3/3] Update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 4dbf95f..67da5b6 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/bazilio91/ejs-compiled-loader.git" + "url": "https://github.com/bazilio91/ejs-compiled-loader.git#ba8ef7f" }, "keywords": [ "ejs",