RezinaLMS-CustomerEnd/apps/demo/next.config.mjs
kirukib 118d26d158 feat: Phase 0 Claude-hosted demo of the e-learning platform
Spec v1.2, Logosmental-based design direction and tokens, pnpm monorepo
(apps/demo, packages/data|features|i18n|db/seed), student + admin screens
in 4 locales, simulated ArifPay checkout on the real order state machine,
artifact inline/check tools, domain rule checks and UI audit fixes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 23:57:11 +03:00

15 lines
433 B
JavaScript

// apps/demo/next.config.mjs — Appendix A.1
export default {
output: 'export',
images: { unoptimized: true },
trailingSlash: false,
transpilePackages: ['@lms/data', '@lms/features', '@lms/i18n'],
webpack: (config, { isServer }) => {
if (!isServer) {
config.optimization.splitChunks = false; // one client bundle, no lazy chunks
config.optimization.runtimeChunk = false;
}
return config;
},
};