Use extend lib
Add support for umd export and direct webpack override