webpack-extract-translation-keys-plugin
Advanced tools
Comparing version 6.1.0 to 6.2.0
@@ -117,4 +117,4 @@ /*! | ||
key = parser.evaluateExpression(expr.arguments[0]); | ||
if (!key.isString()) { | ||
key = parser.evaluateExpression(expr.arguments[0]).string; | ||
if (key === undefined) { | ||
parser.state.module.errors.push( | ||
@@ -129,6 +129,4 @@ new DynamicTranslationKeyError( | ||
key = key.string; | ||
let value = key; | ||
let value = expr.arguments[0].value; | ||
const entry = | ||
@@ -135,0 +133,0 @@ reverseEntryPoints[ |
{ | ||
"name": "webpack-extract-translation-keys-plugin", | ||
"version": "6.1.0", | ||
"version": "6.2.0", | ||
"description": "Webpack plugin to extract list of used translation keys from included modules.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -131,2 +131,10 @@ # Webpack Extract Translation Keys Plugin | ||
### 6.2.0 | ||
Support concatenated strings as keys: `__("a" + "b" + "c")`. | ||
### 6.1.0 | ||
Fix a deprecation warning. | ||
### 6.0.0 | ||
@@ -133,0 +141,0 @@ |
17990
186
255