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.
23 lines
325 B
JavaScript
23 lines
325 B
JavaScript
7 years ago
|
|
||
|
|
||
|
|
||
|
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'
|
||
|
}
|
||
|
}
|
||
|
}
|