lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Mon, May 15, 2023, at 02:15, Soni "They/Them" L. wrote:

> We are wondering, if it would be possible to support foo.lua.d/bar.lua 
> for require("foo.bar").

When it comes to this kind of thing, you can do basically anything by
implementing a custom package searcher.

https://www.lua.org/manual/5.4/manual.html#pdf-package.searchers

-- 
Pierre Chapuis