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