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

Introduce a new non-bundling compilation mode #27

Open
Renegatto opened this issue Aug 13, 2024 · 0 comments
Open

Introduce a new non-bundling compilation mode #27

Renegatto opened this issue Aug 13, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@Renegatto
Copy link

Currently purescript-lua only support bundling, I.e. merging all the modules into the one lua file.
However it is often needed to keep the initial directory structure and keep lua modules small.

So the proposal is to add a new compilation mode (--module?) that would preserve source tree structure in a filesystem level.

This compilation would look like this:

foo/Foo.purs
foo/Bar/Baz.purs

->

foo/Foo.lua
foo/Bar/Baz.lua

Or something like.

Note, that there are may be some pitfalls to consider. See:
TypeScriptToLua/TypeScriptToLua#1445

@Unisay Unisay added the enhancement New feature or request label Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants