title: How add init to es6 modules in webpack
body: <p>I'm using webpack and es6.</p>
  
  <p>I have <code>page-transition</code> in webpage <a href="http://barbajs.org/" rel="nofollow noreferrer">Barba.js</a></p>
  
  <p>I must reinit my codes with Barba Event <a href="http://barbajs.org/events.html" rel="nofollow noreferrer">Barba newPageReady Event</a>, I have many separate modules like <code>menuEvent.js</code>, <code>parallaxEvent.js</code>, <code>inviewEvent.js</code>, <code>touchEvents.js</code>, <code>plugins and librarys.js</code> these modules are imported to <code>mainFile.js</code></p>
  
  <p><a href="https://github.com/luruke/barba.js/issues/101" rel="nofollow noreferrer">Reinit Code</a></p>
  
  <p>I dont have any idea how to add <code>init</code> to each module and add initialize scripts in Barba Event...</p>