mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
Removed support for main as an entry point
This commit is contained in:
parent
8a0799ea1b
commit
1672c91400
1 changed files with 0 additions and 4 deletions
|
@ -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:
|
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`
|
1. `init.lua`
|
||||||
2. `init.luau`
|
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
|
#### DataModel as VFS
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue