const path = require('path'); module.exports = { mode: 'production', entry: './liveview-dev.js', output: { filename: './liveview.js', // path: path.resolve(__dirname, 'static/js') }, devtool: 'eval-source-map', };