wildlife/next.config.mjs

19 lines
347 B
JavaScript
Raw Normal View History

2025-01-09 17:26:11 +00:00
/** @type {import('next').NextConfig} */
const nextConfig = {
webpack: (config) => {
config.resolve.fallback = {
...config.resolve.fallback,
fs: false,
os: false,
path: false,
crypto: false,
}
return config
},
env: {
GOOGLE_API_KEY: process.env.GOOGLE_API_KEY,
},
}
export default nextConfig