application.js
import "@babel/polyfill";
import { app } from '../project/index'
document.addEventListener('DOMContentLoaded', () => {
app.$mount('#app')
});
index.js
import * as Vue from "vue/dist/vue.common";
import "core-js/stable";
import "regenerator-runtime/runtime";
import Vuetify from "vuetify";
....
и так далее
module: {
rules: [
{
test: /\.js$/,
loader: 'babel-loader',
exclude: /node_modules/
},