text: const webpack = require('webpack');
  module.exports = {
    module: {
      rules: [
        {
          test: require.resolve('jquery'),
          use: [{
            loader: 'expose-loader',
            options: 'jQuery'
          }]
        },
        {
          test: require.resolve('../node_modules/adal-angular/lib/adal.js'),
          use: [{
            loader: 'expose-loader',
            options: 'AuthenticationContext'
          }]
        },
        {
          test: /\.json$/,
          use: [
            'json-loader'
          ]
        },
        {
          test: /\.ts$/,
          exclude: /node_modules/,
          use: [
            'ng-annotate-loader'
          ]
        },
        {
          test: /\.ts$/,
          exclude: /node_modules/,
          use: 'tslint-loader',
          enforce: 'pre'
        },
        {
          test: /\.ts$/,
          exclude: /node_modules/,
          use: [
            'ts-loader'
          ]
        },
        {
          test: /\.html$/,
          use: [
            'html-loader'
          ]
        }
      ]
    },
    plugins: [
      new webpack.ProvidePlugin({
        jQuery: 'jquery'
      }),
      new webpack.LoaderOptionsPlugin({
        options: {
          resolve: {},
          ts: {
            configFile: 'tsconfig.json'
          },
          tslint: {
            configuration: require('../tslint.json')
          }
        },
        debug: true
      })
    ],
    devtool: 'source-map',
    resolve: {
      extensions: [
        '.webpack.js',
        '.web.js',
        '.js',
        '.ts'
      ]
    }
  };
  