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

fix(nextjs): Match folder paths with trailing separator #8615

Merged
merged 1 commit into from
Jul 24, 2023

Conversation

lforst
Copy link
Member

@lforst lforst commented Jul 24, 2023

Fixes #5978

We were matching for paths that started with whatever/pages, however that is bad if people have folders named something like whatever/pages-components so with this PR we will match with a trailing (OS-dependent) slash to only match full folders.

@lforst lforst merged commit 07b9d2e into develop Jul 24, 2023
36 checks passed
@lforst lforst deleted the lforst-stricter-nextjs-loader-matcher branch July 24, 2023 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Collecting page data ...TypeError: Cannot read property 'getInitialProps' of undefined
2 participants