You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
334 B
17 lines
334 B
9 years ago
|
var path = require('path')
|
||
|
|
||
|
module.exports = {
|
||
|
entry: path.resolve(__dirname, 'src/index.umd.js'),
|
||
|
output: {
|
||
|
path: path.resolve(__dirname, 'dist'),
|
||
|
filename: 'vue.js',
|
||
|
library: 'Vue',
|
||
|
libraryTarget: 'umd'
|
||
|
},
|
||
|
module: {
|
||
|
loaders: [
|
||
|
{ test: /\.js/, loader: 'babel', exclude: /node_modules/ }
|
||
|
]
|
||
|
}
|
||
|
}
|