2 Commits

Author SHA1 Message Date
c81dae0b7b fix(next): add transpilePackages for @mintel sibling workspaces to fix CI module resolution
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 8s
Build & Deploy / 🏗️ Build (push) Failing after 14m37s
Build & Deploy / 🚀 Deploy (push) Has been skipped
Build & Deploy / 🧪 QA (push) Has been skipped
Build & Deploy / 🧪 Post-Deploy Verification (push) Has been skipped
Build & Deploy / 🔔 Notify (push) Successful in 2s
Nightly QA / 🔗 Links & Deps (push) Successful in 4m18s
Nightly QA / 🔍 Static Analysis (push) Successful in 4m40s
Nightly QA / 🎭 Lighthouse (push) Successful in 4m46s
Nightly QA / 📝 E2E (push) Successful in 5m7s
Nightly QA / 🔔 Notify (push) Has been skipped
2026-03-06 22:43:46 +01:00
716ece1c6c fix(payload): explicitly copy generated importMap.js to nextjs standalone image runner
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 8s
Build & Deploy / 🚀 Deploy (push) Has been skipped
Build & Deploy / 🏗️ Build (push) Failing after 18m27s
Build & Deploy / 🧪 QA (push) Has been skipped
Build & Deploy / 🧪 Post-Deploy Verification (push) Has been skipped
Build & Deploy / 🔔 Notify (push) Successful in 2s
2026-03-06 18:33:01 +01:00
2 changed files with 11 additions and 1 deletions

View File

@@ -49,7 +49,8 @@ COPY --from=builder /app/apps/web/public ./apps/web/public
COPY --from=builder /app/apps/web/.next/standalone ./
COPY --from=builder /app/apps/web/.next/static ./apps/web/.next/static
# Explicitly copy Payload dynamically generated importMap.js excluded by Standalone tracing
COPY --from=builder /app/apps/web/app/(payload)/admin/importMap.js ./apps/web/app/(payload)/admin/importMap.js
# Start from the app directory to ensure references solve correctly
WORKDIR /app/apps/web
CMD ["node", "server.js"]

View File

@@ -21,6 +21,15 @@ const nextConfig = {
'require-in-the-middle',
'import-in-the-middle' // Sentry 10+ instrumentation dependencies
],
transpilePackages: [
'@mintel/content-engine',
'@mintel/concept-engine',
'@mintel/estimation-engine',
'@mintel/meme-generator',
'@mintel/payload-ai',
'@mintel/pdf',
'@mintel/thumbnail-generator'
],
images: {
remotePatterns: [
{