17 lines
535 B
JavaScript
17 lines
535 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
output: "export", // keep: needed for next export
|
|
trailingSlash: true,
|
|
images: {
|
|
unoptimized: true, // ✅ needed
|
|
},
|
|
swcMinify: true, // explicit SWC minify
|
|
// experimental: {
|
|
// forceSwcTransforms: true, // use SWC only
|
|
// modern: true, // ✅ enable modern build (ES6+ for modern browsers)
|
|
// polyfillsOptimization: true // ✅ remove unnecessary polyfills
|
|
// },
|
|
};
|
|
|
|
module.exports = nextConfig;
|