/** @type {import('next').NextConfig} */ const nextConfig = { // Middleware cannot be used with "output: export". output: 'export', // Optional: Change links `/me` -> `/me/` and emit `/me.html` -> `/me/index.html` // trailingSlash: true, // Optional: Prevent automatic `/me` -> `/me/`, instead preserve `href` // skipTrailingSlashRedirect: true, // Optional: Change the output directory `out` -> `dist` distDir: 'docker/out', // 严格模式下react-beautiful-dnd无法使用 reactStrictMode:false, eslint: { // Warning: This allows production builds to successfully complete even if // your project has ESLint errors. // ignoreDuringBuilds: true, }, }; export default nextConfig;