conditionally provisioning `__imports__` and `__exports__` for ES-compatible modules.