Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix(next-config-ts): Resolve compilerOptions from extends (#74888) #74914

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

Open
wants to merge 3 commits into
base: canary
Choose a base branch
from

Conversation

V1RE
Copy link

@V1RE V1RE commented Jan 15, 2025

Updated lazilyGetTSConfig to try and resolve compilerOptions from extends in tsconfig files. Fixes #74888

@ijjk
Copy link
Member

ijjk commented Jan 15, 2025

Allow CI Workflow Run

  • approve CI run for commit: 6e6a57b

Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer

@ijjk
Copy link
Member

ijjk commented Jan 15, 2025

Allow CI Workflow Run

  • approve CI run for commit: 2deddf1

Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer

@V1RE V1RE force-pushed the fix-resolveSWCOptions branch from 6e6a57b to ca17754 Compare January 15, 2025 08:56
@eps1lon eps1lon requested a review from devjiwonchoi January 15, 2025 11:08
@devjiwonchoi
Copy link
Member

Thank you for the PR! Could you write an E2E test?
Feel free to write one refer to /test/e2e/app-dir/next-config-ts!

@V1RE V1RE force-pushed the fix-resolveSWCOptions branch 2 times, most recently from 8b58076 to 03cd9d2 Compare January 20, 2025 23:43
@ijjk ijjk added the tests label Jan 20, 2025
@V1RE
Copy link
Author

V1RE commented Jan 20, 2025

@devjiwonchoi Fixed a possible infinite loop when reading through my initial code. I'm not very familiar with writing e2e tests for stuff like this, but hope it suffices. If you have any suggestions/improvements, let me know, I'd be happy to include them!

@V1RE V1RE force-pushed the fix-resolveSWCOptions branch 2 times, most recently from bce2860 to c7f0d92 Compare January 28, 2025 20:41
@V1RE
Copy link
Author

V1RE commented Jan 29, 2025

@devjiwonchoi Bumping to check if this suffices

@V1RE V1RE force-pushed the fix-resolveSWCOptions branch from c7f0d92 to 465fe71 Compare March 12, 2025 09:18
@V1RE
Copy link
Author

V1RE commented Mar 12, 2025

@leerob Could you maybe take a look?

@V1RE V1RE force-pushed the fix-resolveSWCOptions branch from 465fe71 to 2deddf1 Compare May 6, 2025 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

resolveSWCOptions fails when using next.config.ts with extended tsconfig
3 participants