Skip to content

Commit

Permalink
[loader] minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
carduz committed Oct 22, 2017
1 parent 9f35e2f commit ce6b2f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down

0 comments on commit ce6b2f3

Please sign in to comment.