mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-09-26 17:19:45 -04:00
e964f7f8e2
Now implicitly handles .lua files on top of .luau.
Also handles directory/init.lua(u) when doing require("directory")
cases of conflict (both .lua and .luau, or both .luau and directory) report an error
For reference: https://github.com/luau-lang/rfcs/blob/79c722717ffd96e5c5b5a9493ff01fda8a5171be/docs/amended-require-resolution.md
Fixes https://github.com/TwilitRealm/dusklight/issues/2406