mirror of
https://github.com/luau-lang/luau.git
synced 2024-11-15 14:25:44 +08:00
Update require-by-string-relative-paths.md
This commit is contained in:
parent
391d83dded
commit
b5d63c07eb
@ -231,12 +231,6 @@ large-luau-project
|
||||
└── subproject-3
|
||||
```
|
||||
|
||||
### Roblox specifics
|
||||
|
||||
In the Roblox engine, developers can reasonably expect something similar to be implemented. A Roblox Script could contain `local dependency = require("./dependency")`.
|
||||
|
||||
However, when requiring a "floating" ModuleScript (not part of this central package management system), there will not be a default alias provided. This is bad style and will not be encouraged.
|
||||
|
||||
## Drawbacks
|
||||
|
||||
### Backwards compatibility
|
||||
|
Loading…
Reference in New Issue
Block a user