module.exports = { // Entry file entry: './src/app.js', output: { //output bundle filename: './dist/bundle.js' }, module: { rules: [ { // For .js files test: /\.js$/, use: { // Use the babel loader loader: 'babel-loader' } } ] }, resolve: { alias: { // Ensure the right Vue build is used 'vue$': 'vue/dist/vue.esm.js' } } }