From dc4c44e5e9b21a5815c7a8f800fd802dfcdbd1a1 Mon Sep 17 00:00:00 2001 From: burka Date: Wed, 8 Jun 2016 15:09:08 +0200 Subject: [PATCH] Change example configuration to make it work. filepath.strip is not a function, so I would replace it with replace. See #90 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3ec9d1c..01f6f40 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ module.exports = function(config) { cacheIdFromPath: function(filepath) { // example strips 'public/' from anywhere in the path // module(app/templates/template.html) => app/public/templates/template.html - var cacheId = filepath.strip('public/', ''); + var cacheId = filepath.replace('public/', ''); return cacheId; },