This repository has been archived by the owner on Nov 13, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 44
Export inner modules as objects #253
Comments
Merged
@sync there's some of it, but happy to let you complete |
yes i just ran the branch and could not see a difference so i think i'll be able to have a play around :-) |
@sync |
The commit message contains a few TODOs. |
thank you so much |
Ok will have a look at this first thing in the morning tomorrow (in about 8 hours) |
I am slowly making progress here: #255 still have plenty to do :-) |
@sync thanks a lot -- that's great. |
Please do and also around code style etc... like i not in love with the StringHelper :-( |
Thanks a lot @sync for suggesting the feature, and even implementing a good chunk of it! |
Closing as nearly ready to merge the PR. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This implements a feature request from @sync, to give more idiomatic access to inner modules from JS.
When an inner module (i.e. a module declared within a file) contains values exported to JS, also generate an object with the name of the module and the exported values.
So for example:
should generate some additional code:
If the new representation of inner modules is available, this is optimized to:
The text was updated successfully, but these errors were encountered: