Skip to content

Commit

Permalink
Get getJSON comment back
Browse files Browse the repository at this point in the history
  • Loading branch information
madyankin committed Jun 23, 2020
1 parent e624927 commit 7847a92
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.js
Expand Up @@ -116,6 +116,7 @@ module.exports = postcss.plugin(PLUGIN_NAME, (opts = {}) => {
exportTokens: parser.exportTokens
});

// getJSON may return a promise
return getJSON(css.source.input.file, parser.exportTokens, result.opts.to);
};
});

0 comments on commit 7847a92

Please sign in to comment.