- Fix ENV format warnings in Dockerfile - Set NODE_ENV=production during build - Enable PWA plugin for all environments to ensure consistent builds - Add debugging for build failures
14 lines
250 B
TypeScript
14 lines
250 B
TypeScript
import type { NextConfig } from "next";
|
|
const withPWA = require('next-pwa');
|
|
|
|
const nextConfig: NextConfig = {
|
|
output: 'standalone',
|
|
/* config options here */
|
|
};
|
|
|
|
const config = withPWA({
|
|
dest: 'public',
|
|
})(nextConfig);
|
|
|
|
export default config;
|