2016-11-07 23:15:09 +01:00
|
|
|
var path = require('path');
|
|
|
|
var webpack = require('webpack');
|
|
|
|
|
|
|
|
module.exports = {
|
2020-07-24 03:19:26 +02:00
|
|
|
target: 'node',
|
|
|
|
mode: 'production',
|
2016-11-07 23:15:09 +01:00
|
|
|
entry: './src/index.js',
|
2019-02-01 23:22:13 +01:00
|
|
|
resolve: {
|
2020-07-24 03:19:26 +02:00
|
|
|
extensions: ['.js', '.json'],
|
2019-02-01 23:22:13 +01:00
|
|
|
},
|
2016-11-07 23:15:09 +01:00
|
|
|
output: {
|
2020-07-24 03:19:26 +02:00
|
|
|
path: path.resolve(__dirname, 'lib'), // string
|
2016-11-07 23:15:09 +01:00
|
|
|
filename: 'iso-countries-languages.js',
|
|
|
|
library: 'IsoCountriesLanguages',
|
2020-07-24 03:19:26 +02:00
|
|
|
libraryTarget: 'umd',
|
2016-11-07 23:15:09 +01:00
|
|
|
},
|
2020-07-24 03:19:26 +02:00
|
|
|
plugins: [],
|
|
|
|
module: {},
|
|
|
|
externals: [],
|
|
|
|
};
|