code: function getCompiler(inPath, outPath, { library, libraryTarget }) {
    const compiler = (0, _webpack2.default)(_extends({}, getConfig(false), {
      devtool: _util.isProduction ? 'source-map' : 'eval-source-map',
      entry: ['babel-polyfill', inPath],
      output: { path: (0, _path.dirname)(outPath), filename: (0, _path.basename)(outPath), publicPath: '/', library, libraryTarget },
      plugins: _util.isProduction ? productionPlugins : []
    }));
  
    compiler.outputFileSystem = fakeFS;
  
    return compiler;
  }
docs: Returns a webpack Compiler instance.
  
  @memberof module:webpack
  @private
  @method getCompiler
  @param {string}           inPath  - the path to an input file
  @param {string}           outPath - the path to an output file
  @param {JSCompilerConfig} options - configuration object
  @return {Object} webpack Compiler instance