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.

30 lines
578 B

9 years ago
var path = require('path')
var alias = require('./alias')
module.exports = {
target: 'node',
entry: path.resolve(__dirname, '../src/entries/web-server-renderer'),
9 years ago
output: {
path: path.resolve(__dirname, '../packages/vue-server-renderer'),
filename: 'index.js',
9 years ago
libraryTarget: 'commonjs2'
9 years ago
},
resolve: {
alias: alias
},
externals: {
'entities': true,
'de-indent': true
},
9 years ago
module: {
noParse: /run-in-vm/,
9 years ago
loaders: [
{
test: /\.js/,
loader: 'babel!eslint',
exclude: /node_modules/
}
9 years ago
]
}
}