UNPKG

alpha2-countries

Version:

ISO 3166-1 alpha-2 country names and codes

33 lines (31 loc) 581 B
const webpack = require('webpack'); const path = require('path'); module.exports = { entry: './src/index', output: { path: path.join(__dirname, 'dist'), filename: 'bundle.js', publicPath: '/' }, resolve: { extensions: ['.js'] }, devtool: 'source-map', plugins: [ new webpack.optimize.UglifyJsPlugin({ sourceMap: true, compress: { warnings: false } }) ], module: { loaders: [ { test: /\.js?$/, loaders: ['babel-loader'], include: path.join(__dirname, 'src') } ] } };