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.

25 lines
456 B

9 years ago
var path = require('path')
var alias = require('./alias')
module.exports = {
entry: path.resolve(__dirname, 'ssr.dev.entry.js'),
9 years ago
target: 'node',
9 years ago
output: {
path: path.resolve(__dirname, '../dist'),
filename: 'server-renderer.js',
9 years ago
libraryTarget: 'commonjs2'
9 years ago
},
resolve: {
alias: alias
},
module: {
loaders: [
{
test: /\.js/,
loader: 'babel!eslint',
exclude: /node_modules/
}
9 years ago
]
}
}