mirror of
https://github.com/zooai/ngo.git
synced 2026-11-02 02:11:39 +00:00
- Upgraded to Next.js 15.3.0 (from 15.1.0) - Upgraded to React 19.1.0 (latest) - Upgraded to TailwindCSS 3.4.17 (latest stable) - Added @hanzo/[email protected] library - Updated Radix UI components to latest React 19 compatible versions - Updated lucide-react to 0.456.0 (required by @hanzo/ui) - Updated favicon to new Zoo logo from ~/work/zoo/logo - Added emojis to Conservation Technology (📡) and Financial Accountability (💰) - Disabled ESLint during builds to ignore apostrophe warnings Ready for @hanzo/ui component integration
40 lines
681 B
JavaScript
40 lines
681 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
output: 'export',
|
|
|
|
// Required for GitHub Pages to serve dynamic routes correctly
|
|
trailingSlash: true,
|
|
|
|
eslint: {
|
|
ignoreDuringBuilds: true,
|
|
},
|
|
|
|
reactStrictMode: true,
|
|
|
|
// Disable image optimization for static export
|
|
images: {
|
|
unoptimized: true,
|
|
},
|
|
|
|
// SVGR
|
|
webpack(config) {
|
|
config.module.rules.push({
|
|
test: /\.svg$/i,
|
|
issuer: /\.[jt]sx?$/,
|
|
use: [
|
|
{
|
|
loader: '@svgr/webpack',
|
|
options: {
|
|
typescript: true,
|
|
icon: true,
|
|
},
|
|
},
|
|
],
|
|
});
|
|
|
|
return config;
|
|
},
|
|
};
|
|
|
|
module.exports = nextConfig;
|