Skip to content

Commit

Permalink
fixed build
Browse files Browse the repository at this point in the history
  • Loading branch information
shairez committed Aug 22, 2024
1 parent 2e23912 commit a14e08b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/docs/src/repl/worker/app-bundle-client.ts
Original file line number Diff line number Diff line change
@@ -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,
Expand All @@ -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;
},
Expand Down

0 comments on commit a14e08b

Please sign in to comment.