-
Notifications
You must be signed in to change notification settings - Fork 465
If the filename is not a valid module name, allow multiple files with the same name #4874
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
Comments
what's the current work around, create |
yes or change the attribute name like |
Does the team have a rough estimate of when it would consider starting to work on this, if at all? |
Proposed implementation, the module name can include a hash of the content (or based on another stable thing like the relative path of the file). When adding these characters to the filename the module is not accessible internally anyway. |
My use cases is very similar to the original statement, but the typical example doesn't need to use |
I'm trying to use the optional catch all pattern, and I'm running into the following error:
Did I encounter some illegal character issue? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This would still be very helpful for NextJs app directory. Now that we have |
This is helpful for NextJS. We can now have the filename
[slug].res
however that file can have multiple instances when using NextJS. Because the module is not accessible from the outside, it would be nice if the compiler allowed for multiple files with that name.The text was updated successfully, but these errors were encountered: