const webpack = require('webpack')

module.exports = {
  entry: {
    'nativejsx-prototypes': './source/prototypal-helpers/index.js',
    'nativejsx-prototypes.min': './source/prototypal-helpers/index.js'
  },
  output: {
    path: './dist',
    filename: '[name].js'
  },
  plugins: [
    new webpack.optimize.UglifyJsPlugin({
      include: /min\.js$/,
      minify: true
    })
  ]
}

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

module.exports = {
  entry: {
    'nativejsx-prototypes': './source/prototypal-helpers/index.js',
    'nativejsx-prototypes.min': './source/prototypal-helpers/index.js'
  },
  output: {
    path: path.resolve(__dirname, 'dist'),
    filename: '[name].js'
  },
  plugins: [
    new webpack.optimize.UglifyJsPlugin({
      include: /min\.js$/,
      minify: true
    })
  ]
}

Make it compatible for Webpack2 (fix the path error)
Make it compatible for Webpack2 (fix the path error)
