fixed next js config imports
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import createNextIntlPlugin from 'next-intl/plugin';
|
||||
const createNextIntlPlugin = require('next-intl/plugin');
|
||||
|
||||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
@@ -18,9 +18,8 @@ const nextConfig = {
|
||||
}
|
||||
};
|
||||
|
||||
const withNextIntl = createNextIntlPlugin();
|
||||
const withNextIntl = createNextIntlPlugin('./app/i18n.ts');
|
||||
|
||||
const nextConfigIntl = withNextIntl(nextConfig);
|
||||
export default nextConfigIntl;
|
||||
|
||||
// module.exports = nextConfigIntl;
|
||||
module.exports = nextConfigIntl;
|
||||
Reference in New Issue
Block a user