var config = require('./webpack.config.js');

config.entry = {
  'zanui': './src/index.js'
};

config.output = {
  filename: './lib/[name].js',
  library: 'zanui',
  libraryTarget: 'umd'
};

config.externals = {
  vue: 'Vue'
};

delete config.devtool;

module.exports = config;