Skip to content

Commit

Permalink
fix #8 - i18n within other tempalte literals tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrea Giammarchi committed Mar 19, 2018
1 parent bd43667 commit 687389a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ const parse = (options, base, file, cache, db) => {
v: item.quasi.expressions.map((expression, i) => i)
};
findRequire(item.quasi);
} else {
(item.quasi.expressions || []).forEach(findRequire);
}
break;
case 'CallExpression':
Expand Down

0 comments on commit 687389a

Please sign in to comment.