const path = require('path'); const config = { // The first source file from which to build the import tree. entry: './src/index.js', // The location and names of the built files (bundles). output: { path: path.resolve(__dirname, 'dist'), filename: 'bundle.js', }, // What loaders need to be used to build non-JS files. module: { rules: [], }, // What code should run to tweak the build process. plugins: [], }; module.exports = config;