2 ms·
I would recommend that you extend `package.loaders` instead. You risk breaking expected `require` functionality. Then you get the benefits of both!! https://ww
by andrewmcwatters 9y ago
I would recommend that you extend `package.loaders` instead. You risk breaking expected `require` functionality. Then you get the benefits of both!!
https://www.lua.org/manual/5.1/manual.html#pdf-package.loaders https://www.lua.org/manual/5.1/manual.html#pdf-package.loade...
- dbartolini 9y agoI already do so: https://github.com/dbartolini/crown/blob/master/src/lua/lua_environment.cpp#L85 https://github.com/dbartolini/crown/blob/master/src/lua/lua_...