@joystick.js/node-canary 0.0.0-canary.94 → 0.0.0-canary.96
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.
|
@@ -57,10 +57,6 @@ var getTranslations_default = async (paths = {}, req = {}) => {
|
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
const translationsFile = await getTranslationsFile(matchingFile, paths);
|
|
60
|
-
console.log({
|
|
61
|
-
matchingFile,
|
|
62
|
-
translationsFile
|
|
63
|
-
});
|
|
64
60
|
return translationsFile;
|
|
65
61
|
};
|
|
66
62
|
export {
|
package/dist/ssr/index.js
CHANGED
|
@@ -339,8 +339,8 @@ const ssr = async (options, { resolve, reject }) => {
|
|
|
339
339
|
const dataFromComponent = await getDataFromComponent(componentInstance, apiForDataFunctions, browserSafeRequest).then((data) => data).catch((error) => {
|
|
340
340
|
return [{ error }];
|
|
341
341
|
});
|
|
342
|
-
buildTreeForComponent(componentInstance, ssrTree);
|
|
343
|
-
buildTreeForComponent(componentInstance, ssrTreeForCSS);
|
|
342
|
+
buildTreeForComponent(componentInstance, ssrTree, options?.translations);
|
|
343
|
+
buildTreeForComponent(componentInstance, ssrTreeForCSS, options?.translations);
|
|
344
344
|
const dataFromTree = await getDataFromTree(ssrTree).then((data) => data).catch((error) => {
|
|
345
345
|
return [{ error }];
|
|
346
346
|
});
|