mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
Update rfcs/require-by-string.md
Co-authored-by: vegorov-rbx <75688451+vegorov-rbx@users.noreply.github.com>
This commit is contained in:
parent
bc3f422622
commit
4dd9d94362
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
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.
|
- 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.
|
- 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:
|
Of course, users can still use the alias map to explicitly define this behavior with a named alias:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue