const path = require('path'); module.exports = { entry: './src/imageExifReader.js', output: { path: path.resolve(__dirname, 'dist'), filename: 'imageExifReader.min.js', library: { name: 'ImageExifReader', type: 'umd', export: 'default' }, globalObject: 'this' } };