text: var path = require('path');
  var webpack = require('webpack');
  var nodeExternals = require('webpack-node-externals');
  
  module.exports = {
      entry: ['./src/index.ts'],
      devtool: 'sourcemap',
      output: {
          path: path.resolve('./dist'),
          filename: 'redux-classic.js',
          library: 'redux-classic',
          libraryTarget: 'umd',
          umdNamedDefine: true,
          devtoolModuleFilenameTemplate: '[absolute-resource-path]',
          devtoolFallbackModuleFilenameTemplate: '[absolute-resource-path]?[hash]'
      },
      externals: [nodeExternals()],
      module: {
          rules: [
              { test: /.ts$/, use: ['ts-loader', 'ts-nameof-loader'] }
          ]
      },
      resolve: {
          extensions: ['.ts', '.js'],
          modules: [path.resolve("./src"), "node_modules"]
      },
      plugins: [
          new webpack.optimize.ModuleConcatenationPlugin()
      ]
  };