Removed support for main as an entry point

This commit is contained in:
bsharp 2022-02-03 03:10:57 -08:00
parent 8a0799ea1b
commit 1672c91400

View file

@ -97,10 +97,6 @@ Libraries can be embedded in other libraries. In this case aliases are inherited
If the string resolves to a directory rather than a file then we will attempt to require a specific file in that directory with the following name:
1. `init.lua`
2. `init.luau`
3. `main.lua`
4. `main.luau`
Why `main` as well as `init`? In the past `MainModule` was the way to define the entry point of an asset on the Roblox platform. Meanwhile, Lua favors `init.lua`. Given both have precedent it seems reasonable to support them.
#### DataModel as VFS