mirror of
https://gitee.com/vuejs/vue.git
synced 2024-12-02 20:17:52 +08:00
23 lines
438 B
JavaScript
23 lines
438 B
JavaScript
var path = require('path')
|
|
|
|
module.exports = {
|
|
entry: path.resolve(__dirname, '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/ }
|
|
]
|
|
},
|
|
devtool: '#source-map'
|
|
}
|