mirror of
https://github.com/vuejs/vue.git
synced 2024-11-22 04:39:46 +00:00
22 lines
415 B
JavaScript
22 lines
415 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'
|
|
},
|
|
resolve: {
|
|
alias: {
|
|
entities: './entity-decoder'
|
|
}
|
|
},
|
|
module: {
|
|
loaders: [
|
|
{ test: /\.js/, loader: 'babel!eslint', exclude: /node_modules/ }
|
|
]
|
|
}
|
|
}
|