Skip to content
Discussion options

You must be logged in to vote

Even v4 does that:

import type { NextConfig } from 'next'

import createNextIntlPlugin from "next-intl/plugin"

const withNextIntl = createNextIntlPlugin();

const nextConfig = (phase: unknown, { defaultConfig }: { defaultConfig: NextConfig }) => {
  const config = withNextIntl()
  console.log(config.experimental)
  return config
}

export default nextConfig;

And you'll see this when building - so config.experimental.turbo is added by next-intl.

{
  turbo: { resolveAlias: { 'next-intl/config': './i18n/request.ts' } }
}

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
1 reply
@klimacka
Comment options

Comment options

You must be logged in to vote
5 replies
@icyJoseph
Comment options

@icyJoseph
Comment options

@klimacka
Comment options

@icyJoseph
Comment options

Answer selected by klimacka
@klimacka
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants