You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
440 B
JavaScript

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'
}
}
}