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
430 B
JavaScript
27 lines
430 B
JavaScript
7 years ago
|
module.exports = {
|
||
|
// Entry file
|
||
|
entry: './app.js',
|
||
|
output: {
|
||
|
//output bundle
|
||
|
filename: 'bundle.js'
|
||
|
},
|
||
|
modules: {
|
||
|
rules: [
|
||
|
{
|
||
|
// For .js files
|
||
|
test: /\.js$/,
|
||
|
use: {
|
||
|
// Use the babel loader
|
||
|
loader: 'bable-loader'
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
resolve: {
|
||
|
alias: {
|
||
|
// Ensure the right Vue build is used
|
||
|
'vue$': 'vue/dist/vue.esm.js'
|
||
|
}
|
||
|
}
|
||
|
}
|