@griddo/cx 11.10.3-rc.0 → 11.10.4-rc.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.
@@ -5,6 +5,7 @@ import pLimit from "p-limit";
5
5
 
6
6
  import { findFilesBySuffix } from "../../../core/fs";
7
7
  import { GriddoLog } from "../../../core/GriddoLog";
8
+ import { addLogToBuffer } from "../../../core/logger";
8
9
  import { GRIDDO_SSG_BUNDLE_ANALYZER } from "../../../shared/envs";
9
10
  import { getAssetsDiffBetweenRenders, patchHtmlFile } from "./diff-assets";
10
11
 
@@ -184,7 +185,7 @@ class SyncRender {
184
185
  const changedHtmlFilePaths = this.state.htmlToAdd.map(({ from }) => from);
185
186
 
186
187
  for (const htmlFilePath of changedHtmlFilePaths) {
187
- GriddoLog.build(`Patching HTML file ${htmlFilePath} with the new webpackCompilationHash`);
188
+ addLogToBuffer(`Patching HTML file ${htmlFilePath} with the new webpackCompilationHash`);
188
189
  await patchHtmlFile(htmlFilePath, webpackCompilationHash);
189
190
  }
190
191
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@griddo/cx",
3
3
  "description": "Griddo SSG based on Gatsby",
4
- "version": "11.10.3-rc.0",
4
+ "version": "11.10.4-rc.0",
5
5
  "authors": [
6
6
  "Hisco <francis.vega@griddo.io>"
7
7
  ],
@@ -93,5 +93,5 @@
93
93
  "publishConfig": {
94
94
  "access": "public"
95
95
  },
96
- "gitHead": "5ce1da960593a4b6d01efa550494879edf0fd1cb"
96
+ "gitHead": "d383108e789e257efcfc6fe6f4c24741eee13aaa"
97
97
  }