I\'m using Laravel Mix, that is based on WebPack.
I had it working, and now, it fails with:
Invalid configuration object. Webpack has been initialised us
Use __dirname
e.g.
output: { path: __dirname + "/dist/js", // or path: path.join(__dirname, "dist/js"), filename: "bundle.js" }
Getting: Error: `output.path` needs to be an absolute path or `/`