const path = require('path') module.exports = { mode: 'production', // entry: [ // './src/a1.js', // './src/a2.js' // ], entry: { hello1: './src/a1.js', hello2: './src/a2.js' }, output: { filename: '[name]-[id]-[hash].js', // filename: 'file5.js', clean: true, // path: path.resolve(__dirname, 'hello') } }