const path = require('path') var config = { entry: './src/index.js', target: 'node', output: { filename: 'bundle.js', path: path.resolve(__dirname, 'dist') } } module.exports = config