text: const path = require('path');
  const webpack = require('webpack');
  const merge = require('webpack-merge');
  const baseConfig = require('./webpack.base.config');
  const VueSSRPlugin = require('vue-ssr-webpack-plugin');
  
  const isomorphicConfig = merge(baseConfig, {
    target:    'node',
    entry:     { isomorphic: './src/server/isomorphic' },
    output:    {
      path:          path.join(__dirname, '..', 'dist', 'server'),
      filename:      'isomorphic.js',
      libraryTarget: 'commonjs2',
      publicPath:    '/client/',
    },
    externals: Object.keys(require('../package.json').dependencies),
    plugins:   [
      new webpack.DefinePlugin({
                                 CLIENT: false,
                                 SERVER: true,
                                 nodeRequire: 'function(module){return require(module);}',
                               }),
      new VueSSRPlugin({}),
    ],
  });
  
  module.exports = isomorphicConfig;
  