Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'm not sure what you mean. Obviously UMD cannot support native es6 modules since they're syntactical invalid for non-es6 applications.


The GP wants to import into JS modules, and you said:

> Yes, this is the point of that code. It's boilerplate to ensure the module loads in different environments.

but the UDM header does not allow the module to load in JS modules. So I'm not quite sure what you meant actually. The header does nothing for standard modules.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: