I\'m making a typescript plugin with webpack. Everything works well but I have a problem with making it visible from outside. For example, I have files:
/* ./src
Exporting from module does not make an entity global. You can either directly add it as a member to window:
window.init = init;
or, better still, move the init invocation to a typescript module - which in this case should be your webpack entry point.