lume/next.config.js

25 lines
422 B
JavaScript
Raw Normal View History

2023-03-31 09:06:40 +00:00
/**
* @type {import('next').NextConfig}
*/
2023-02-21 07:58:47 +00:00
2023-03-31 09:06:40 +00:00
const nextConfig = {
2023-04-15 02:06:29 +00:00
output: 'export',
2023-04-20 02:47:02 +00:00
swcMinify: false,
2023-02-21 07:58:47 +00:00
images: {
unoptimized: true,
},
2023-02-21 08:44:24 +00:00
typescript: {
ignoreBuildErrors: true,
2023-02-21 07:58:47 +00:00
},
2023-04-15 02:06:29 +00:00
experimental: {
appDir: true,
scrollRestoration: true,
},
2023-02-23 02:50:31 +00:00
webpack: (config) => {
config.experiments = { ...config.experiments, topLevelAwait: true };
return config;
},
2023-03-31 09:06:40 +00:00
};
module.exports = nextConfig;