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 c1c0880 commit 4e0e3a7Copy full SHA for 4e0e3a7
build.mjs
@@ -418,7 +418,12 @@ async function copyFiles(entryPoints, targetDir) {
418
// Skip missing CSS in development (placeholders will be created later)
419
const isCss = String(entryPoint.dst).endsWith('.css')
420
if (!isProduction || isCss) {
421
- if (!isProduction && isCss) return
+ if (!isProduction && isCss) {
422
+ console.log(
423
+ `[build] Skipping missing CSS file: ${entryPoint.src} -> ${entryPoint.dst} (placeholder will be created)`,
424
+ )
425
+ return
426
+ }
427
}
428
throw new Error(`Missing build artifact: ${entryPoint.src}`)
429
0 commit comments