const path = require('path'); module.exports = { pages: { index: { entry: 'main.js', template: 'index.html', filename: 'index.html' } }, configureWebpack: { resolve: { alias: { '@': path.resolve(__dirname, './') } } } };