shopify-accelerate-app 1.0.47 → 1.0.48

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shopify-accelerate-app",
3
- "version": "1.0.47",
3
+ "version": "1.0.48",
4
4
  "description": "Shopify App development with full Typescript Support",
5
5
  "author": "Felix Tellmann",
6
6
  "license": "MIT",
@@ -267,7 +267,7 @@ export const generateLiquidFiles = (final?: boolean, cssOutput?: string) => {
267
267
  }
268
268
  };
269
269
 
270
- const translationsJs = `<script data-no-block>
270
+ const translationsJs = `<script>
271
271
  window.__listify_translations = ${JSON.stringify(transformTranslations(translations), undefined, 2)};
272
272
  </script>
273
273
  `;
@@ -287,6 +287,7 @@ declare global {
287
287
 
288
288
  writeCompareFile(path.join(process.cwd(), extension_path, "locales", "en.default.json"), JSON.stringify(translations, undefined, 2));
289
289
  writeCompareFile(path.join(process.cwd(), extension_path, "snippets", "translations.liquid"), translationsJs);
290
+ writeCompareFile(path.join(folders.snippets, "translations.liquid"), translationsJs);
290
291
  writeCompareFile(path.join(folders.types, "translations.ts"), translationTypes);
291
292
 
292
293
  const dynamicJsImports = [];