vue/build/webpack.ssr.dev.config.js
2016-04-25 12:58:37 -04:00

20 lines
407 B
JavaScript

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