text: const path = require('path');
  
  module.exports = {
    entry: {
      app: [
        'es6-shim',
        'zone.js',
        'es7-reflect-metadata',
        path.resolve(__dirname, './src/main.ts'),
      ],
    },
    output: {
      path: path.resolve(__dirname, './dist'),
      filename: 'bundle.js',
    },
    plugins: [],
  
    resolve: {
      extensions: ['', '.ts', '.js'],
    },
  
    module: {
      loaders: [
        { test: /\.ts$/, loader: 'ts-loader' },
      ],
      noParse: [
        /zone\.js\/dist\/.+/,
      ],
    },
  
    devServer: {
      historyApiFallback: true,
    },
  };
  