text: /**
   * @file webpack prod config file
   */
  var webpack = require('webpack');
  var config = require('./webpack.base.config');
  
  config.entry = './src/index.js';
  config.output = {
      filename: './dist/edp-vue-json.min.js',
      library: 'TreeView',
      libraryTarget: 'umd'
  };
  
  config.plugins = (config.plugins || []).concat([
      new webpack.optimize.UglifyJsPlugin({
          sourceMap: false,
          compress: {
              warnings: false
          }
      })
  ]);
  module.exports = config;
  