feather/webpack.config.js

23 lines
367 B
JavaScript
Raw Normal View History

2017-01-29 00:55:50 +03:00
var path = require('path');
module.exports = {
entry: './src/main.js',
output: {
path: path.resolve(__dirname),
filename: 'bundle.js'
2017-01-29 01:46:21 +03:00
},
module: {
rules: [
{
test: /\.js$/,
loader: 'babel-loader',
exclude: /node_modules/
}
]
2017-01-29 02:03:26 +03:00
},
resolve: {
alias: {
'vue$': 'vue/dist/vue.common.js'
}
2017-01-29 00:55:50 +03:00
}
}