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
32 lines
654 B
9 years ago
|
var path = require('path')
|
||
9 years ago
|
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: {
|
||
9 years ago
|
path: path.resolve(__dirname, '../dist'),
|
||
9 years ago
|
filename: 'vue.js',
|
||
|
library: 'Vue',
|
||
|
libraryTarget: 'umd'
|
||
|
},
|
||
9 years ago
|
resolve: {
|
||
9 years ago
|
alias: Object.assign({}, alias, {
|
||
9 years ago
|
entities: './entity-decoder'
|
||
9 years ago
|
})
|
||
9 years ago
|
},
|
||
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
|
}
|