iso-countries-languages/webpack.config.js
2020-07-23 22:19:26 -03:00

20 lines
427 B
JavaScript

var path = require('path');
var webpack = require('webpack');
module.exports = {
target: 'node',
mode: 'production',
entry: './src/index.js',
resolve: {
extensions: ['.js', '.json'],
},
output: {
path: path.resolve(__dirname, 'lib'), // string
filename: 'iso-countries-languages.js',
library: 'IsoCountriesLanguages',
libraryTarget: 'umd',
},
plugins: [],
module: {},
externals: [],
};