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.

32 lines
654 B

9 years ago
var path = require('path')
var alias = require('./alias')
9 years ago
var webpack = require('webpack')
9 years ago
module.exports = {
9 years ago
entry: path.resolve(__dirname, 'dist.dev.entry.js'),
9 years ago
output: {
path: path.resolve(__dirname, '../dist'),
9 years ago
filename: 'vue.js',
library: 'Vue',
libraryTarget: 'umd'
},
resolve: {
alias: Object.assign({}, alias, {
entities: './entity-decoder'
})
},
9 years ago
module: {
loaders: [
9 years ago
{ test: /\.js/, loader: 'babel!eslint', exclude: /node_modules/ }
9 years ago
]
9 years ago
},
9 years ago
plugins: [
new webpack.DefinePlugin({
'process.env': {
NODE_ENV: '"development"'
}
})
],
9 years ago
devtool: '#source-map'
9 years ago
}