refactor: Remove unnecessary output property in next.config.js

This commit is contained in:
mauro-balades committed 2024-09-02 20:16:06 +02:00
1 parent c338f3d04e
commit 9fab23d159
2 files changed
+10 -1

No files matched your search

+1 -1
View File
@@ -45,4 +45,4 @@ const nextConfig = (phase, { defaultConfig }) => {
};
};
module.exports = {...withNextIntl(nextConfig), output: 'export'};
module.exports = {...withNextIntl(nextConfig)};
+9
View File
@@ -0,0 +1,9 @@
import createMiddleware from 'next-intl/middleware';
import {routing} from './i18n/routing';
export default createMiddleware(routing);
export const config = {
// Match only internationalized pathnames
matcher: ['/', '/(de|en)/:path*']
};