11 lines
214 B
JavaScript

const path = require('path');
module.exports = {
mode: 'development',
entry: path.resolve(__dirname, './src/main.js'),
output: {
path: path.resolve(__dirname, './dist'),
filename: 'bundle.js'
}
};