iso-countries-languages/webpack.config.js

24 lines
422 B
JavaScript
Raw Normal View History

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