ghost-image-store
Version:
Ghost storage adapter that automatically creates a webp version of your uploaded images
22 lines (20 loc) • 416 B
JavaScript
const path = require('path');
module.exports = {
mode: 'production',
entry: './index.js',
target: 'node',
optimization: {
minimize: false
},
output: {
path: path.resolve(__dirname, 'dist'),
library: {
name: 'image-store',
type: 'umd',
umdNamedDefine: true
}
},
externals: {
sharp: 'commonjs sharp'
}
};