diff --git a/loader.js b/loader.js index 542178f..37b6418 100644 --- a/loader.js +++ b/loader.js @@ -7,6 +7,7 @@ const MaterialIconsTranslator = require('./index'); const loaderUtils = require('loader-utils'); module.exports = function(source) { + this.cacheable && this.cacheable(); let options = loaderUtils.getOptions(this) || {}; return MaterialIconsTranslator.simple(source, options.debug || false); }; \ No newline at end of file diff --git a/package.json b/package.json index 529c5d4..e1ae9f0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "material-icons-translator", - "version": "0.2.4", + "version": "0.2.5", "description": "This library translates all occurrences of material icons name to the unicode form", "main": "index.js", "scripts": {