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.
 
 
 
 
 

29 lines
578 B

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