1 2 3 4 5 6 7 8 9
const path = require("path"); module.exports = { entry: "./index.js", output: { path: path.resolve(__dirname, "dist"), filename: "index.js" }, mode: "development" };