const webpack = require('webpack')
const path = require('path')

module.exports = {
  entry: ['./src/wobbuffetch.js'],
  output: {
    path: path.resolve(__dirname, 'dist'),
    publicPath: '/assets/',
    libraryTarget: 'umd',
    library: 'wobbuffetch'
  },
  resolve: {
    modules: [path.resolve(process.cwd(), 'src'), 'node_modules'],
    extensions: ['.js']
  },
  module: {
    rules: [
      { test: /\.js$/, exclude: /node_modules/, loader: 'babel-loader' }
    ]
  }
}

@@ -253,16 +253,227 @@
 h'%0A  %7D,%0A
+  externals: %5B%0A    %7B%0A      'isomorphic-fetch': %7B%0A        root: 'isomorphic-fetch',%0A        commonjs2: 'isomorphic-fetch',%0A        commonjs: 'isomorphic-fetch',%0A        amd: 'isomorphic-fetch'%0A      %7D%0A    %7D%0A  %5D,%0A
   resolv

fix ´self is not defined´ fetch