Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support resolveExtensions config #4934

Closed
alantoa opened this issue May 14, 2023 · 0 comments · Fixed by vercel/next.js#62004
Closed

support resolveExtensions config #4934

alantoa opened this issue May 14, 2023 · 0 comments · Fixed by vercel/next.js#62004
Labels
needs: triage New issues get this label. Remove it after triage owned-by: turbopack

Comments

@alantoa
Copy link

alantoa commented May 14, 2023

Which project is this feature idea for?

Turbopack

Describe the feature you'd like to request

Hi, I noticed that turbopack already supports the extensionAlias configuration, it's very useful for me, but currently it doesn't support extensions config!
Therefore, I hope it can also support resolveExtensions just like webpack's extensions configuration.

Describe the solution you'd like

just like webpack's extensions configuration. https://webpack.js.org/configuration/resolve/#resolveextensions

Describe alternatives you've considered

I have checked if ResolveOptions supports extension params.
If it does supporting custom configurations in JS would be great!

@alantoa alantoa added needs: triage New issues get this label. Remove it after triage story labels May 14, 2023
sokra added a commit to vercel/next.js that referenced this issue Feb 19, 2024
### What?

* add `turbo.resolveExtensions` to allow to customize extensions in
Turbopack

fixes PACK-2335
Fixes vercel/turborepo#4934
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs: triage New issues get this label. Remove it after triage owned-by: turbopack
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants