I am new to JS development, in an attempt to hot load changes using webpack-dev-server I keep above exception. The exact stack is:
Error: `output.path` needs
you need to include this at the top of or webpack.config.js file var path = require('path') and then in your path do the following: path: path.join(__dirname, "dist/js")
var path = require('path')
path: path.join(__dirname, "dist/js")