var webpack = require('webpack');

module.exports = {
  entry: './src/datepicker',
  output: {
    libraryTarget: 'umd',
    library: 'DatePicker'
  },
  module: {
    loaders: [
      {test: /\.js/, loaders: ['babel-loader'], exclude: /node_modules/}
    ]
  },
  resolve: {
    extensions: ['', '.js', '.jsx']
  },
  externals: [
    {
      'react': {
        root: 'React',
        commonjs2: 'react',
        commonjs: 'react',
        amd: 'react'
      }
    },
    {
      'react/addons': {
        root: 'React',
        commonjs2: 'react',
        commonjs: 'react',
        amd: 'react'
      }
    }
  ],
  node: {Buffer: false},
  plugins: [
    new webpack.optimize.DedupePlugin(),
    new webpack.DefinePlugin({
      'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV)
    })
  ]
};

@@ -139,16 +139,37 @@
 ePicker'
+,%0A    path: './dist/'
 %0A  %7D,%0A  
@@ -616,24 +616,380 @@
 ct'%0A      %7D%0A
+    %7D,%0A    %7B%0A      'moment': %7B%0A        root: 'moment',%0A        commonjs2: 'moment',%0A        commonjs: 'moment',%0A        amd: 'moment'%0A      %7D%0A    %7D,%0A    %7B%0A      'react-onclickoutside': %7B%0A          root: 'OnClickOutside',%0A          commonjs2: 'react-onclickoutside',%0A          commonjs: 'react-onclickoutside',%0A          amd: 'react-onclickoutside'%0A      %7D%0A
     %7D%0A  %5D,%0A 

remove every dependancies in build