lume/next.config.js
2023-03-31 16:06:40 +07:00

21 lines
357 B
JavaScript

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