iso-countries-languages/webpack.config.js

25 lines
440 B
JavaScript
Raw Normal View History

var path = require('path');
var webpack = require('webpack');
module.exports = {
2019-02-06 22:40:34 +01:00
target: "node",
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
]
}