const path = require('path'); module.exports = { entry: "./src/index.js", // bundle's entry point output: { path: path.resolve(__dirname, 'dist'), // output directory filename: 'bundle.js' // name of the generated bundle } };