From 1672c914000131678fc4eb31d13e6d3b3e8e1a23 Mon Sep 17 00:00:00 2001 From: bsharp Date: Thu, 3 Feb 2022 03:10:57 -0800 Subject: [PATCH] Removed support for main as an entry point --- rfcs/libraries.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/rfcs/libraries.md b/rfcs/libraries.md index 4d0b0c1d..dc4e47af 100644 --- a/rfcs/libraries.md +++ b/rfcs/libraries.md @@ -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