UNPKG

async-multiple

Version:
33 lines (32 loc) 637 B
var path = require('path') var UglifyJsPlugin = require('uglifyjs-webpack-plugin') module.exports = { entry: './src/index.js', output: { path: path.join(__dirname, '/dist'), filename: 'async-multiple.min.js', library: 'async-multiple', libraryTarget: 'umd', }, module: { loaders: [ { test: /.js$/, loader: 'babel-loader', exclude: /node_modules/, }, { test: /.js$/, loader: 'eslint-loader', exclude: /node_modules/, }, ], }, plugins: [ new UglifyJsPlugin(), ], node: { process: false, }, devtool: 'source-map', }