Update require-by-string-relative-paths.md

This commit is contained in:
menarulalam 2023-10-03 22:49:21 -07:00 committed by GitHub
parent 391d83dded
commit b5d63c07eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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