Update rfcs/require-by-string.md

Co-authored-by: vegorov-rbx <75688451+vegorov-rbx@users.noreply.github.com>
This commit is contained in:
Varun Saini 2023-08-01 09:47:39 -07:00 committed by GitHub
parent bc3f422622
commit 4dd9d94362
Signed by: DevComp
GPG key ID: 4AEE18F83AFDEB23

View file

@ -175,7 +175,7 @@ Aliases are simple bindings and aren't concerned with versioning. The intention
In the past, it has been proposed to define alias (e.g. "`@`") to represent the root directory of a file's encapsulating library.
- However, the concept of a "Luau library" and its root directory is not yet rigorously defined in Luau, in terms of folder/file structure.
- In the future, we may add a `package.json` file or something similar that marks the root directory of a library, but this is outside of the scope of this RFC, which primarily focuses on improving require-by-string.
- For the time being, this functionality will remain unimplemented for this reason. The alias "`@`" will remain reserved for now, meaning it cannot be overriden.
- For the time being, this functionality will remain unimplemented for this reason. The alias "`@`" will remain reserved for now, meaning it cannot be overridden.
Of course, users can still use the alias map to explicitly define this behavior with a named alias: