@cedarjs/ogimage-gen 6.0.0 → 7.0.0-canary.2982
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.
|
@@ -207,8 +207,8 @@ class OgImageMiddleware {
|
|
|
207
207
|
}
|
|
208
208
|
async importComponent(filePath, invokeOptions) {
|
|
209
209
|
try {
|
|
210
|
-
if (invokeOptions.
|
|
211
|
-
const { data, output } = await invokeOptions.
|
|
210
|
+
if (invokeOptions.viteSsrDevServer) {
|
|
211
|
+
const { data, output } = await invokeOptions.viteSsrDevServer.ssrLoadModule(filePath);
|
|
212
212
|
return { data, Component: output };
|
|
213
213
|
} else {
|
|
214
214
|
const { data, output } = await import(filePath);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cedarjs/ogimage-gen",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.0.0-canary.2982",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/cedarjs/cedar.git",
|
|
@@ -36,17 +36,17 @@
|
|
|
36
36
|
"test:watch": "vitest watch"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@cedarjs/internal": "
|
|
40
|
-
"@cedarjs/project-config": "
|
|
39
|
+
"@cedarjs/internal": "7.0.0-canary.2982",
|
|
40
|
+
"@cedarjs/project-config": "7.0.0-canary.2982",
|
|
41
41
|
"fast-glob": "3.3.3",
|
|
42
42
|
"lodash": "4.18.1",
|
|
43
|
-
"react": "
|
|
44
|
-
"react-dom": "
|
|
43
|
+
"react": "19.2.3",
|
|
44
|
+
"react-dom": "19.2.3"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@cedarjs/framework-tools": "
|
|
48
|
-
"@cedarjs/router": "
|
|
49
|
-
"@cedarjs/web": "
|
|
47
|
+
"@cedarjs/framework-tools": "7.0.0-canary.2982",
|
|
48
|
+
"@cedarjs/router": "7.0.0-canary.2982",
|
|
49
|
+
"@cedarjs/web": "7.0.0-canary.2982",
|
|
50
50
|
"@playwright/test": "1.62.1",
|
|
51
51
|
"ts-toolbelt": "9.6.0",
|
|
52
52
|
"typescript": "5.9.3",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"vitest": "4.1.10"
|
|
55
55
|
},
|
|
56
56
|
"peerDependencies": {
|
|
57
|
-
"@cedarjs/router": "
|
|
57
|
+
"@cedarjs/router": "7.0.0-canary.2982"
|
|
58
58
|
},
|
|
59
59
|
"engines": {
|
|
60
60
|
"node": ">=24"
|