vue/webpack.config.js
2016-04-11 22:53:13 -04:00

17 lines
336 B
JavaScript

var path = require('path')
module.exports = {
entry: path.resolve(__dirname, 'build/dev-entry.js'),
output: {
path: path.resolve(__dirname, 'dist'),
filename: 'vue.js',
library: 'Vue',
libraryTarget: 'umd'
},
module: {
loaders: [
{ test: /\.js/, loader: 'babel', exclude: /node_modules/ }
]
}
}