Hacker News new | ask | show | jobs
by cs1996 83 days ago
This luau gets packaged via:

https://github.com/cubacadabra/tools

but I think you are right, it should not use this custom syntax.

1 comments

new commit here: https://github.com/cubacadabra/tools/commit/662c18a43deafb5b...

Thanks this was indeed the wrong design. Now it has:

Game code can now do normal Luau imports like local Round = require("./round")

Cubacadabra SDK modules use aliases like require("@cubacadabra/shared-state")

.luaurc files maps the @cubacadabra alias for editor navigation/type checking