Files
portabase/next.config.mjs
T

27 lines
597 B
JavaScript
Raw Normal View History

2024-12-31 16:42:19 +01:00
2024-11-03 11:30:44 +01:00
/** @type {import('next').NextConfig} */
2024-12-31 16:42:19 +01:00
const nextConfig = {
output: "standalone",
typescript: {
//TODO fix all type errors and remove 'ignoreBuildErrors'
// !! WARN !!
// Dangerously allow production builds to successfully complete even if
// your project has type errors.
// !! WARN !!
ignoreBuildErrors: true,
},
eslint: {
ignoreDuringBuilds: true,
},
2025-01-02 17:58:14 +01:00
// bundlePagesRouterDependencies: true,
2025-01-02 18:30:20 +01:00
compiler: {
2025-01-03 20:48:58 +01:00
removeConsole: process.env.NODE_ENV === 'production',
2025-01-02 18:30:20 +01:00
},
2025-01-02 17:58:14 +01:00
2024-12-31 16:42:19 +01:00
};
2024-11-03 11:30:44 +01:00
export default nextConfig;
2024-12-31 16:42:19 +01:00