File tree Expand file tree Collapse file tree 3 files changed +2
-4
lines changed
packages/qwik-city/src/static Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ export async function generate(opts: StaticGenerateOptions) {
1515}
1616
1717if ( ! isMainThread && workerData ) {
18- const opts = workerData as SsgOptions ;
18+ const opts = workerData as StaticGenerateOptions ;
1919 ( async ( ) => {
2020 try {
2121 if ( opts . log === 'debug' ) {
Original file line number Diff line number Diff line change 22import type { StaticGenerateOptions , System } from '../types' ;
33import fs from 'node:fs' ;
44import { dirname , join } from 'node:path' ;
5- import { patchGlobalThis } from '../../middleware/node/node-fetch' ;
65import { createNodeMainProcess } from './node-main' ;
76import { createNodeWorkerProcess } from './node-worker' ;
87import { normalizePath } from '../../utils/fs' ;
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments