You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am writing class per file, interface per file. However, these classes and namespaces are declared in the same namespace.
Currently, we need to export everything from the namespace to be accessible form the same namespace but declared in another file. This makes everything declared in the namespace available outside of it, even if I don't want to.
Also, It makes impossible to perform effective code minification.
Is there any special reason why this can't be done? I can imagine there can be a compilator option for it.
Thanks,
Frantisek
The text was updated successfully, but these errors were encountered:
fis-cz
changed the title
Merge all code of same namespaces together when module is set to none
Merge all code of same namespaces declared in different files together
Apr 23, 2017
I am writing class per file, interface per file. However, these classes and namespaces are declared in the same namespace.
Currently, we need to export everything from the namespace to be accessible form the same namespace but declared in another file. This makes everything declared in the namespace available outside of it, even if I don't want to.
Also, It makes impossible to perform effective code minification.
Is there any special reason why this can't be done? I can imagine there can be a compilator option for it.
Thanks,
Frantisek
The text was updated successfully, but these errors were encountered: