Files
Keep/keep-notes/next.config.ts
Sepehr Ramezani fa7e166f3e feat: add reminders page, BMad skills upgrade, MCP server refactor
- Add reminders page with navigation support
- Upgrade BMad builder module to skills-based architecture
- Refactor MCP server: extract tools and auth into separate modules
- Add connections cache, custom AI provider support
- Update prisma schema and generated client
- Various UI/UX improvements and i18n updates
- Add service worker for PWA support

Made-with: Cursor
2026-04-13 21:02:53 +02:00

42 lines
975 B
TypeScript

import type { NextConfig } from "next";
const withPWA = require("@ducanh2912/next-pwa").default({
dest: "public",
register: true,
skipWaiting: true,
disable: process.env.NODE_ENV === "development",
});
const nextConfig: NextConfig = {
// Enable standalone output for Docker
output: 'standalone',
// Empty turbopack config to silence Turbopack/webpack conflict warning in Next.js 16
turbopack: {},
// Webpack config (needed for PWA plugin)
webpack: (config, { isServer }) => {
// Fixes npm packages that depend on `fs` module
if (!isServer) {
config.resolve.fallback = {
...config.resolve.fallback,
fs: false,
};
}
return config;
},
// Optimize for production
reactStrictMode: true,
// Image optimization
images: {
unoptimized: true, // Required for standalone
},
// Hide the "compiling" indicator as requested by the user
devIndicators: false,
};
export default withPWA(nextConfig);