shopify-accelerate-app 1.0.54 → 1.0.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -295,7 +295,7 @@ export const generateLiquidFiles = (final?: boolean, cssOutput?: string) => {
|
|
|
295
295
|
const mergedTranslations = mergeLocales(translations, defaultSourceTranslations);
|
|
296
296
|
|
|
297
297
|
const translationsJs = `<script>
|
|
298
|
-
window.
|
|
298
|
+
window._listify_translations = ${JSON.stringify(transformTranslations(mergedTranslations), undefined, 2)};
|
|
299
299
|
</script>
|
|
300
300
|
`;
|
|
301
301
|
|
|
@@ -307,7 +307,7 @@ export const generateLiquidFiles = (final?: boolean, cssOutput?: string) => {
|
|
|
307
307
|
.replace(/\n\n/gi, "\n")};
|
|
308
308
|
declare global {
|
|
309
309
|
interface Window {
|
|
310
|
-
|
|
310
|
+
_listify_translations?: Translations;
|
|
311
311
|
}
|
|
312
312
|
}
|
|
313
313
|
`;
|