14 lines
369 B
TypeScript
14 lines
369 B
TypeScript
import type { NextConfig } from 'next';
|
|
import createNextIntlPlugin from 'next-intl/plugin';
|
|
|
|
const withNextIntl = createNextIntlPlugin('./i18n/request.ts');
|
|
|
|
const config: NextConfig = {
|
|
experimental: {
|
|
// Enables importing packages that export CSS directly
|
|
optimizePackageImports: ['@dwellops/ui'],
|
|
},
|
|
};
|
|
|
|
export default withNextIntl(config);
|