title: Polyfill not applied on imported files
body: <p>I'm working on a Vue JS project in which I use ES6 syntax. I've added a polyfill by importing '@babel/polyfill' at the top of my app's entry point (main.js), which works for most of my project. </p>
  
  <p>The problem I've now encountered is that the polyfill isn't applied on imported files. So this means that when</p>
  
  <ul>
  <li>When my ES6 function is imported, the page is rendered correctly in Chrome but not in IE11 </li>
  <li>When I directly copy and paste the contents of the imported file (without the export syntax) into my main file, the page is rendered correctly in both browsers.</li>
  </ul>
  
  <p>How do I correctly Polyfill in this situation? </p>
  
  <hr>
  
  <h2>EDIT</h2>
  
  <p>: Apparantly this issue had nothing to do with polyfills, but with babel instead. I openend a new question <a href="https://stackoverflow.com/questions/52016829/webpack-babel-loader-doesnt-transpile-imported-js-files">here</a></p>