Skip to content

Commit 7bf156d

Browse files
committed
refactor: assign sanitizedPath to chunkInfo.name and return it
1 parent c4088aa commit 7bf156d

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,8 +231,8 @@ export function normalizeRollupOutputOptionsObject(
231231
}
232232

233233
const sanitizedPath = sanitizePath(optimizer, chunkInfo.name);
234-
235-
return `build/${sanitizedPath}.js`;
234+
chunkInfo.name = sanitizedPath;
235+
return `build/[name].js`;
236236
};
237237
}
238238
// client production output

0 commit comments

Comments
 (0)