@doctoright/babel-plugin-react-intl
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -254,5 +254,5 @@ "use strict"; | ||
// skipped here and extracted elsewhere. The descriptor will | ||
// be extracted only if a `defaultMessage` prop exists. | ||
// be extracted only if an `id` prop exists. | ||
if (descriptor.defaultMessage || opts.optionalDefaultMessages) { | ||
if (descriptor.id) { | ||
// Evaluate the Message Descriptor values in a JSX | ||
@@ -259,0 +259,0 @@ // context, then store it. |
{ | ||
"name": "@doctoright/babel-plugin-react-intl", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "Extracts string messages for translation from modules that use React Intl.", | ||
@@ -5,0 +5,0 @@ "repository": { |
132339