diff --git a/packages/docs/src/repl/worker/app-bundle-client.ts b/packages/docs/src/repl/worker/app-bundle-client.ts index 74ff58fb243..9241429a580 100644 --- a/packages/docs/src/repl/worker/app-bundle-client.ts +++ b/packages/docs/src/repl/worker/app-bundle-client.ts @@ -1,9 +1,9 @@ /* eslint-disable no-console */ -import type { InputOptions, OutputAsset, OutputChunk } from 'rollup'; import type { Diagnostic, QwikRollupPluginOptions } from '@builder.io/qwik/optimizer'; +import type { InputOptions, OutputAsset, OutputChunk } from 'rollup'; import type { ReplInputOptions, ReplModuleOutput, ReplResult } from '../types'; -import type { QwikWorkerGlobal } from './repl-service-worker'; import { replCss, replMinify, replResolver } from './repl-plugins'; +import type { QwikWorkerGlobal } from './repl-service-worker'; export const appBundleClient = async ( options: ReplInputOptions, @@ -19,7 +19,7 @@ export const appBundleClient = async ( srcInputs: getInputs(options), // Older versions don't support `segment` entryStrategy: - options.entryStrategy.type === 'segment' ? { type: 'hook' } : options.entryStrategy, + options.entryStrategy?.type === 'segment' ? { type: 'hook' } : options.entryStrategy, manifestOutput: (m) => { result.manifest = m; },