lume/next.config.js
2023-04-15 09:06:29 +07:00

26 lines
447 B
JavaScript

/**
* @type {import('next').NextConfig}
*/
const nextConfig = {
output: 'export',
reactStrictMode: false,
swcMinify: true,
images: {
unoptimized: true,
},
typescript: {
ignoreBuildErrors: true,
},
experimental: {
appDir: true,
scrollRestoration: true,
},
webpack: (config) => {
config.experiments = { ...config.experiments, topLevelAwait: true };
return config;
},
};
module.exports = nextConfig;