imageExifReader/webpack.config.js

15 lines
310 B
JavaScript
Raw Permalink Normal View History

2025-01-03 19:07:17 +08:00
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'
}
};