title: Module not found: Error: Can't resolve 'imports' when using @babel/polyfill or @babel/runtime
body: <p>Using @babel 7.0.0-beta.36 with Webpack. when I include either the polyfill or the runtime library, I run into a compilation error.</p>
  
  <p>Please see attached here <a href="https://gist.github.com/pathsny/af270f61390380c8d948973ed9e09787" rel="nofollow noreferrer">https://gist.github.com/pathsny/af270f61390380c8d948973ed9e09787</a>
  my .babelrc, package.json, package-lock.json, and webpack.config.js</p>
  
  <p>In the above gist, either uncommenting the line with the async function inside the file "offending file" or uncommenting the entry @babel/polyfill in the webpack.config.js and then compiling the code results in the error</p>
  
  <p><code>
  ERROR in ./node_modules/@babel/polyfill/node_modules/regenerator-runtime/runtime.js
  Module not found: Error: Can't resolve 'imports' in '/project_path/node_modules/@babel/polyfill/node_modules/regenerator-runtime'
  BREAKING CHANGE: It's no longer allowed to omit the '-loader' suffix when using loaders.
                   You need to specify 'imports-loader' instead of 'imports',
                   see https://webpack.js.org/guides/migrating/#automatic-loader-module-name-extension-removed
  webpack: Failed to compile.
  </code></p>
  
  <p>I would appreciate any help figuring out what I'm missing here.</p>