@shopify/react-i18n
Advanced tools
Comparing version 0.10.3 to 0.10.4
@@ -17,3 +17,3 @@ "use strict"; | ||
var id = _a.id, fallbackID = _a.fallbackID, decoratorName = _a.decoratorName; | ||
return template(decoratorName + "({\n id: '" + id + "',\n fallback: " + fallbackID + ",\n async translations(locale) {\n return await import(/* webpackChunkName: '" + id + "-i18n' */ `./translations/${locale}.json`);\n },\n })", { | ||
return template(decoratorName + "({\n id: '" + id + "',\n fallback: " + fallbackID + ",\n async translations(locale) {\n return await import(/* webpackChunkName: \"" + id + "-i18n\", webpackMode: \"lazy-once\" */ `./translations/${locale}.json`);\n },\n })", { | ||
sourceType: 'module', | ||
@@ -20,0 +20,0 @@ plugins: ['dynamicImport'], |
{ | ||
"name": "@shopify/react-i18n", | ||
"version": "0.10.3", | ||
"version": "0.10.4", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "i18n utilities for React handling translations, formatting, and more.", |
88651