This commit is contained in:
15
apps/www/next.config.mjs
Normal file
15
apps/www/next.config.mjs
Normal file
@@ -0,0 +1,15 @@
|
||||
import createNextIntlPlugin from 'next-intl/plugin';
|
||||
|
||||
const withNextIntl = createNextIntlPlugin('./i18n/request.ts');
|
||||
|
||||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
reactStrictMode: true,
|
||||
// Match the existing `apps/web` philosophy: build outputs are tree-shakeable
|
||||
// ESM, modern image formats served via Next.js's built-in optimizer.
|
||||
images: {
|
||||
formats: ['image/avif', 'image/webp'],
|
||||
},
|
||||
};
|
||||
|
||||
export default withNextIntl(nextConfig);
|
||||
Reference in New Issue
Block a user