Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relative to file requires #959

Closed
centau opened this issue Jun 22, 2023 · 3 comments
Closed

Relative to file requires #959

centau opened this issue Jun 22, 2023 · 3 comments
Labels
duplicate This issue or pull request already exists enhancement New feature or request

Comments

@centau
Copy link

centau commented Jun 22, 2023

Currently when reusing modules composed of multiples files in different projects, the require within the modules break since the require paths assume that the module is the root directory, which isn't the case when they are being used in another project.

Being able to relatively require other files would make modularity with luau files much easier.

@centau centau added the enhancement New feature or request label Jun 22, 2023
@vegorov-rbx
Copy link
Collaborator

We have started work to support relative string requires and a few extra features.

@vrn-sn
Copy link
Contributor

vrn-sn commented Jun 30, 2023

@centau - Relevant RFC.

@zeux
Copy link
Collaborator

zeux commented Nov 27, 2023

The original issue for this is #102 so I'll close this one as a duplicate.

@zeux zeux closed this as not planned Won't fix, can't repro, duplicate, stale Nov 27, 2023
@zeux zeux added the duplicate This issue or pull request already exists label Nov 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists enhancement New feature or request
Development

No branches or pull requests

4 participants