create-plasmic-app 0.0.139 → 0.0.140
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.
|
@@ -23,6 +23,16 @@ export const PLASMIC = initPlasmicLoader({
|
|
|
23
23
|
// only use this for development, as this is significantly slower.
|
|
24
24
|
preview: false,
|
|
25
25
|
});
|
|
26
|
+
|
|
27
|
+
// Register custom functions here so they are available during SSR.
|
|
28
|
+
// See https://docs.plasmic.app/learn/registering-custom-functions/
|
|
29
|
+
//
|
|
30
|
+
// IMPORTANT for app-router projects: any custom function used by a server
|
|
31
|
+
// query must be registered here, which runs on the server. Registrations in
|
|
32
|
+
// plasmic-init-client.tsx are only available in the browser and will cause
|
|
33
|
+
// a runtime error if referenced by a server query during SSR.
|
|
34
|
+
//
|
|
35
|
+
// PLASMIC.registerFunction(...);
|
|
26
36
|
`;
|
|
27
37
|
}
|
|
28
38
|
exports.makePlasmicInit_app_loader = makePlasmicInit_app_loader;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-plasmic-app",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.140",
|
|
4
4
|
"description": "Create Plasmic-powered React apps",
|
|
5
5
|
"main": "./dist/lib.js",
|
|
6
6
|
"types": "./dist/lib.d.ts",
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"validate-npm-package-name": "^3.0.0",
|
|
48
48
|
"yargs": "^16.2.0"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "764aea061d79b4b8c0a980f52cb26ffd711c9b12"
|
|
51
51
|
}
|
|
@@ -23,5 +23,15 @@ export const PLASMIC = initPlasmicLoader({
|
|
|
23
23
|
// only use this for development, as this is significantly slower.
|
|
24
24
|
preview: false,
|
|
25
25
|
});
|
|
26
|
+
|
|
27
|
+
// Register custom functions here so they are available during SSR.
|
|
28
|
+
// See https://docs.plasmic.app/learn/registering-custom-functions/
|
|
29
|
+
//
|
|
30
|
+
// IMPORTANT for app-router projects: any custom function used by a server
|
|
31
|
+
// query must be registered here, which runs on the server. Registrations in
|
|
32
|
+
// plasmic-init-client.tsx are only available in the browser and will cause
|
|
33
|
+
// a runtime error if referenced by a server query during SSR.
|
|
34
|
+
//
|
|
35
|
+
// PLASMIC.registerFunction(...);
|
|
26
36
|
`;
|
|
27
37
|
}
|