text: var path = require('path');
  var webpack = require('webpack');
  var HtmlWebpackPlugin = require('html-webpack-plugin');
  
  var basePath = __dirname;
  
  module.exports = {
    context: path.join(basePath, 'src'),
    resolve: {
      extensions: ['.js', '.ts']
    },
    entry: {
    },
    output: {
      path: path.join(basePath, 'dist'),
      filename: '[chunkhash].[name].js',
    },
    module: {
      rules: [
      ],
    },
    devtool: 'inline-source-map',
    devServer: {
      port: 8080,
    },
    plugins: [
      new HtmlWebpackPlugin({
        filename: 'index.html',
        template: 'index.html',
        hash: true,
      }),
      new webpack.optimize.CommonsChunkPlugin({
        names: ['vendor', 'manifest'],
      }),
      new webpack.HashedModuleIdsPlugin(),
    ],
  };
  