Skip to content

Commit dee7adf

Browse files
committed
chore: add !devServer check
1 parent 09f00ba commit dee7adf

File tree

1 file changed

+1
-1
lines changed
  • packages/qwik/src/optimizer/src/plugins

1 file changed

+1
-1
lines changed

packages/qwik/src/optimizer/src/plugins/plugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -745,7 +745,7 @@ export function createQwikPlugin(optimizerOptions: OptimizerOptions = {}) {
745745
parentIds.set(key, id);
746746
currentOutputs.set(key, [mod, id]);
747747
deps.add(key);
748-
if (opts.target === 'client') {
748+
if (opts.target === 'client' && !devServer) {
749749
// rollup must be told about all entry points
750750
ctx.emitFile({
751751
id: key,

0 commit comments

Comments
 (0)