Skip to content

Commit 47a3b9f

Browse files
committed
chore: fixup
1 parent 8b3c7d3 commit 47a3b9f

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

packages/qwik-city/src/static/node/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export async function generate(opts: StaticGenerateOptions) {
1515
}
1616

1717
if (!isMainThread && workerData) {
18-
const opts = workerData as SsgOptions;
18+
const opts = workerData as StaticGenerateOptions;
1919
(async () => {
2020
try {
2121
if (opts.log === 'debug') {

packages/qwik-city/src/static/node/node-system.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
import type { StaticGenerateOptions, System } from '../types';
33
import fs from 'node:fs';
44
import { dirname, join } from 'node:path';
5-
import { patchGlobalThis } from '../../middleware/node/node-fetch';
65
import { createNodeMainProcess } from './node-main';
76
import { createNodeWorkerProcess } from './node-worker';
87
import { normalizePath } from '../../utils/fs';

packages/qwik-city/src/static/worker-thread.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ export async function workerThread(sys: System) {
2222
// TODO export this from server
2323
render: (await import(pathToFileURL(ssgOpts.renderModulePath).href)).default,
2424
// TODO this should be built-in
25-
qwikRouterConfig: (await import(pathToFileURL(ssgOpts.qwikRouterConfigModulePath).href))
26-
.default,
25+
qwikCityPlan: (await import(pathToFileURL(ssgOpts.qwikCityPlanModulePath).href)).default,
2726
};
2827

2928
sys

0 commit comments

Comments
 (0)