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