Closed
Description
The MODULARIZE wraps everything in a function, which is nice. But the code which sets module.exports is inside that function, which means nothing is exported until you run the function, and you can't run the function without it being exported. To get around this you have to use pre and post code to create your own wrapper.
If MODULARIZE is used then the code which sets module.exports should be outside the wrapped function.
Metadata
Metadata
Assignees
Labels
No labels