module.exports = { // entry: './app.js', entry: './src/app.js', mode: 'development', output: { filename: 'bundle.js' }, module: { rules: [ { test: /\.js$/, exclude: /node_modules/, loader: "babel-loader" } ] }, // because we aren't using vue loader resolve: { alias: { vue: 'vue/dist/vue.js' } } }