Skip to content

Use package.loaders instead of replacing require function. #3

@dannyfritz

Description

@dannyfritz

I was working on this a bit when I noticed your package that does it already.

Lua has a built in way to extend require so replacing it shouldn't be necessary.
I was doing it here. It is done using package.loaders.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions