Update HMR. Make it true HMR. Add URL to page server props
This commit is contained in:
@@ -146,6 +146,7 @@ export type LivePageDistGenParams = {
|
||||
bundledMap?: BundlerCTXMap;
|
||||
meta?: BunextPageModuleMeta;
|
||||
routeParams?: BunxRouteParams;
|
||||
debug?: boolean;
|
||||
};
|
||||
|
||||
export type BunextPageHeadFCProps = {
|
||||
@@ -244,11 +245,13 @@ export type GrabPageComponentRes = {
|
||||
module: BunextPageModule;
|
||||
meta?: BunextPageModuleMeta;
|
||||
head?: FC<BunextPageHeadFCProps>;
|
||||
debug?: boolean;
|
||||
};
|
||||
|
||||
export type GrabPageReactBundledComponentRes = {
|
||||
component: JSX.Element;
|
||||
server_res?: BunextPageModuleServerReturn;
|
||||
tsx?: string;
|
||||
};
|
||||
|
||||
export type PageFiles = {
|
||||
|
||||
Reference in New Issue
Block a user