cloudflare / cloudflare/vinext

Issues with `next-intl` library

Open
#177 4 comments 7 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
8.8k
Forks
406
Avg merge
2d 6h
Merged PRs (30d)
120

Description

### The issue

Vinext doesn't seem to work with `next-intl`.
I created a brand new NextJS project using `create-next-app`, added the default `next-intl` configuration and default `vinext` setup.
I get the following error when I run the app:

Image

Running the exact same setup with default nextjs works fine.

### Package versions:

| Package | Version |
| ----------- | ----------- |
| vinext | 0.0.15 |
| next | 16.1.6 |
| react | 19.2.4 |
| next-intl | 4.8.3 |

### Possible cause

When I start the vinext dev server, I get the following warning:

`[vinext] next.config option "webpack" is not yet supported and will be ignored`

I assume this is because of the NextJS config injected by the next-intl: `export default withNextIntl(nextConfig);`

Contributor guide

Open the contributing guide

Research direction

Reproduce the reported setup with vinext 0.0.15, Next 16.1.6, React 19.2.4, and next-intl 4.8.3, then compare it with the working default Next.js setup. Inspect how the next.config wrapper from `withNextIntl(nextConfig)` and the `webpack` option are handled. Done means the default next-intl configuration runs under vinext without the reported error.

Written by the indexing model from the issue text.

Assessment

Tech stack
next.js, react, typescript
Domain
frontend, internationalization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.