We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d28b7c commit 133a7cbCopy full SHA for 133a7cb
packages/qwik/src/optimizer/src/plugins/rollup.ts
@@ -223,10 +223,10 @@ export function normalizeRollupOutputOptionsObject(
223
} else {
224
// Friendlier names in dev or preview with debug mode
225
fileName = (chunkInfo) => {
226
- if (chunkInfo.moduleIds.some((id) => id.endsWith('core.prod.mjs'))) {
+ if (chunkInfo.moduleIds?.some((id) => id.endsWith('core.prod.mjs'))) {
227
return 'build/core.js';
228
}
229
- if (chunkInfo.moduleIds.some((id) => id.endsWith('qwik-city/lib/index.qwik.mjs'))) {
+ if (chunkInfo.moduleIds?.some((id) => id.endsWith('qwik-city/lib/index.qwik.mjs'))) {
230
return 'build/qwik-city.js';
231
232
0 commit comments