diff --git a/next.config.js b/next.config.ts similarity index 63% rename from next.config.js rename to next.config.ts index efa196e..a23e855 100644 --- a/next.config.js +++ b/next.config.ts @@ -1,7 +1,6 @@ -const withNextIntl = require('next-intl/plugin')('./src/i18n.ts'); +import type { NextConfig } from "next"; -/** @type {import('next').NextConfig} */ -const nextConfig = { +const nextConfig: NextConfig = { webpack: (config) => { if (process.env.NODE_ENV === "development") { config.module.rules.push({ @@ -15,4 +14,4 @@ const nextConfig = { }, }; -module.exports = withNextIntl(nextConfig); \ No newline at end of file +export default nextConfig;