Binato/webpack.config.js

15 lines
307 B
JavaScript
Raw Normal View History

2022-11-17 00:29:07 +00:00
const path = require('path');
const nodeExternals = require('webpack-node-externals');
module.exports = {
target: 'node',
externals: [ nodeExternals() ],
entry: './build/Binato.js',
output: {
path: path.join(__dirname, 'bundle'),
filename: 'Binato.js',
},
optimization: {
minimize: true,
},
};