'use strict' const path = require('path') const webpack = require('webpack') module.exports = { entry: [ path.join(__dirname, 'index.js') ], output: { path: path.join(__dirname, 'dist'), filename: 'return-deep-diff.min.js', library: 'return-deep-diff', libraryTarget: 'umd' }, plugins: [ new webpack.optimize.UglifyJsPlugin({ compressor: { warnings: false, screw_ie8: true }, output: { comments: false } }) ], module: { loaders: [{ test: /\.js/, exclude: /node_modules/, loader: 'babel' }] } }