million
million copied to clipboard
Duplicated module file extension in Next.js with turbopack
What version of million
are you using?
3.1.11
Are you using an SSR adapter? If so, which one?
Vercel/[email protected]
What package manager are you using?
bun
What operating system are you using?
Linux
What browser are you using?
Chrome, Firefox, Opera, Floorp, Vivaldi, Brave
Describe the Bug
Module extensions are duplicated when being called at compiling time (in dev mode)
One of the multiple errors:
This occurs with every single 'use client'
component when using turbopack and @million/lint > 1.0.0-rc.81
in dev mode.
When I use @million/[email protected]
and [email protected]
this issue disappears.
What's the expected result?
Resolve client modules without duplicated extension
Link to Minimal Reproducible Example
https://codesandbox.io/p/devbox/nextjs-million-lint-bug-d74985?file=%2Fnext.config.mjs%3A47%2C1
Participation
- [ ] I am willing to submit a pull request for this issue.