promise-ext-settled
Version:
Simple settled promise
21 lines (18 loc) • 415 B
JavaScript
var path = require('path'),
webpack = require('webpack');
var config = {
entry: {
promiseSettled: './src/'
},
output: {
path: path.resolve(__dirname, 'build/'),
filename: '[name].min.js',
library: '[name]',
libraryTarget: 'umd'
},
plugins: [
new webpack.optimize.UglifyJsPlugin()
],
devtool: 'source-map'
};
module.exports = config;