const path = require('path'); const HtmlWebpackPlugin = require('html-webpack-plugin'); module.exports = { entry: "./index.js", output: { path: path.resolve(__dirname, "dist"), filename: "index.js", }, plugins: [ new HtmlWebpackPlugin({ title: "Getting started with WASM" }) ], mode: "development" };