@speedkit/cli 2.34.0 → 2.35.0
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/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [2.35.0](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v2.34.0...v2.35.0) (2024-06-21)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **customer-config:** add ignore assets ([8774d78](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/8774d78d042ee80937c13cdd38acff84ca5b7e4f))
|
|
7
|
+
|
|
1
8
|
# [2.34.0](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v2.33.0...v2.34.0) (2024-06-21)
|
|
2
9
|
|
|
3
10
|
|
package/README.md
CHANGED
|
@@ -93,14 +93,21 @@ const config = {
|
|
|
93
93
|
walkPreRenderedElements(document);
|
|
94
94
|
{{/if}}
|
|
95
95
|
},
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
96
|
+
{{#if isPlentymarkets}}
|
|
97
|
+
stripComments: false, // Plentymarkets specific
|
|
98
|
+
{{/if}}
|
|
99
|
+
{{#if addPreRendering}}
|
|
100
|
+
ignoreAssets: [
|
|
101
|
+
// keep aligned with dynamicBlockConfig.assetChangeDetection.ignoreAssets
|
|
102
|
+
],
|
|
103
|
+
{{else}}
|
|
104
|
+
ignoreAssets: [],
|
|
105
|
+
{{/if}}
|
|
106
|
+
{{#if isShopify}}
|
|
107
|
+
delayScriptPath: "/apps/speed-kit/speed-kit-dom-ready.js", // Shopify specific
|
|
108
|
+
{{else}}
|
|
109
|
+
delayScriptPath: "/speed-kit-dom-ready.js",
|
|
110
|
+
{{/if}}
|
|
104
111
|
executeDeploymentDetection: true,
|
|
105
112
|
{{#unless addPreRendering}}
|
|
106
113
|
{{#if removeLazyLoading}}
|
|
@@ -37,6 +37,14 @@
|
|
|
37
37
|
dynamicScriptExecution: true, // Shopify specific
|
|
38
38
|
// => as some async external scripts are injected more or less randomly into the html, destroying the order of local & remote scripts
|
|
39
39
|
{{/if}}
|
|
40
|
+
{{#if addPreRendering}}
|
|
41
|
+
assetChangeDetection: {
|
|
42
|
+
ignore: [
|
|
43
|
+
// keep aligned with DocumentHandler's config.ignoreAssets
|
|
44
|
+
],
|
|
45
|
+
},
|
|
46
|
+
{{/if}}
|
|
47
|
+
|
|
40
48
|
blocks: [
|
|
41
49
|
// TODO: adjust/replace this exemplary list
|
|
42
50
|
{{#if addPreRendering}}
|
package/oclif.manifest.json
CHANGED