eddev 2.0.0-beta.19 → 2.0.0-beta.20

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.
@@ -6,7 +6,6 @@ import { SSRRoot } from "../entry/ssr-root.js";
6
6
  import { RouteLoader } from "../lib/routing/loader.js";
7
7
  export async function renderPageToSSRStream(pathname, initialData, serverContext) {
8
8
  const clientManifest = serverContext.getManifest("client");
9
- console.log("Manifest is", clientManifest);
10
9
  const assets = await clientManifest.inputs[clientManifest.handler].assets();
11
10
  const jsx = (_jsx(SSRRoot, { assets: _jsx(Suspense, { children: assets.map((m) => renderAsset(m)) }), pathname: pathname, initialData: initialData, loader: new RouteLoader() }));
12
11
  const stream = await new Promise(async (resolve) => {
@@ -91,16 +91,18 @@ if (!isMainThread) {
91
91
  });
92
92
  }
93
93
  if (mode === "admin") {
94
- new AdminBundler(project, {
94
+ const bundler = new AdminBundler(project, {
95
95
  mode: "development",
96
96
  });
97
+ bundler.start();
97
98
  pipeLog(adminLog);
98
99
  }
99
100
  else if (mode === "frontend") {
100
- new FrontendBundler(project, {
101
+ const bundler = new FrontendBundler(project, {
101
102
  mode: "development",
102
103
  watch: true,
103
104
  });
105
+ bundler.start();
104
106
  pipeLog(frontendLog);
105
107
  }
106
108
  else if (mode === "graphql") {
@@ -1 +1 @@
1
- export declare const VERSION = "2.0.0-beta.19";
1
+ export declare const VERSION = "2.0.0-beta.20";
@@ -1 +1 @@
1
- export const VERSION = "2.0.0-beta.19";
1
+ export const VERSION = "2.0.0-beta.20";
@@ -247,7 +247,6 @@ export function createVinxiCodegen(opts) {
247
247
  if (response.ok) {
248
248
  setResponseStatus(event, response.status)
249
249
  setResponseHeader(event, "Content-Type", "text/html; charset=utf-8")
250
- console.log('MM', getManifest('client'))
251
250
  return renderPageToSSRStream(url.pathname, await response.json(), serverContext)
252
251
  } else {
253
252
  return response
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eddev",
3
- "version": "2.0.0-beta.19",
3
+ "version": "2.0.0-beta.20",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "type": "module",