oonyeje-portfolio/next.config.js
2024-01-10 10:40:18 -05:00

20 lines
376 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
webpack: (config) => {
config.resolve.alias.canvas = false;
return config;
},
output: 'export',
images: {
unoptimized: true
},
exportPathMap: async (defaultMap, ctx) => {
return defaultMap
}
// basePath: '/github-pages',
}
module.exports = nextConfig