title: NPM: Field 'browser' doesn't contain a valid alias configuration
body: <p>Executing This:</p>
  
  <pre><code>node .\node_modules\webpack\bin\webpack.js --config scripts/webpack.config.js --display-error-details
  </code></pre>
  
  <p>Produces this error.</p>
  
  <p>I am just testing this at the moment, so application.ts just has this</p>
  
  <pre><code>export class Aureus {
  
      constructor() {
          alert('1');
      }
  
  }
  </code></pre>
  
  <p>The webpack file looks as follows:</p>
  
  <pre><code>const globule = require("globule");
  const path = require("path");
  const webpack = require("webpack");
  const extractTextPlugin = require("extract-text-webpack-plugin");
  
  const config = {
  };
  
  const configuration = {
      context: __dirname,
      entry: {
          "application": 
              "application.ts",
              ...globule.find("aureus/**/*.ts", { srcBase: "./scripts" }),
          ,
          "vendor": [
              "bootstrap",
              "jquery",
              "angular",
              "moment",
              "lodash",
              "ramda",
          ],
      },
      output: {
          path: path.join(__dirname, "../"),
          filename: "packed.js"
      },
      devtool: "source-map",
      plugins: [
          new webpack.LoaderOptionsPlugin({
              debug: true
          }),
          new webpack.optimize.CommonsChunkPlugin({
              name: "vendor",
              filename: "vendor.js"
          }),
          new webpack.ProvidePlugin({
              $: "jquery",
              jQuery: "jquery",
              "window.jQuery": "jquery",
              "window.jquery": "jquery",
          }),
      ],
      resolve:
      {
          alias: {
          }
      },
      module: {
          rules: [
              {
                  test: /^((?!\.spec\.ts).)*.ts$/,
                  use: [
                      {
                          loader: "awesome-typescript-loader"
                      }
                  ],
                  exclude: /(node_modules)/
              },
          ]
      }
  };
  
  module.exports = configuration;
  </code></pre>
  
  <p>I am getting this error?
  <code>application.ts</code> is in <code>./scripts/application.ts</code>
  (same directory as webpack.config.js)</p>
  
  <pre><code>ERROR in Entry module not found: Error: Can't resolve 'application.ts' in 'C:\Projects\Github\Aureus\Aureus.Web\scripts'
  resolve 'application.ts' in 'C:\Projects\Github\Aureus\Aureus.Web\scripts'
    Parsed request is a module
    using description file: C:\Projects\Github\Aureus\Aureus.Web\package.json (relative path: ./scripts)
      Field 'browser' doesn't contain a valid alias configuration
    after using description file: C:\Projects\Github\Aureus\Aureus.Web\package.json (relative path: ./scripts)
      resolve as module
        C:\Projects\Github\Aureus\Aureus.Web\scripts\node_modules doesn't exist or is not a directory
        C:\Projects\Github\Aureus\node_modules doesn't exist or is not a directory
        C:\Projects\Github\node_modules doesn't exist or is not a directory
        C:\Projects\node_modules doesn't exist or is not a directory
        C:\node_modules doesn't exist or is not a directory
        looking for modules in C:\Projects\Github\Aureus\Aureus.Web\node_modules
          using description file: C:\Projects\Github\Aureus\Aureus.Web\package.json (relative path: ./node_modules)
            Field 'browser' doesn't contain a valid alias configuration
          after using description file: C:\Projects\Github\Aureus\Aureus.Web\package.json (relative path: ./node_modules)
            using description file: C:\Projects\Github\Aureus\Aureus.Web\package.json (relative path: ./node_modules/application.ts)
              no extension
                Field 'browser' doesn't contain a valid alias configuration
                C:\Projects\Github\Aureus\Aureus.Web\node_modules\application.ts doesn't exist
              .js
                Field 'browser' doesn't contain a valid alias configuration
                C:\Projects\Github\Aureus\Aureus.Web\node_modules\application.ts.js doesn't exist
              .json
                Field 'browser' doesn't contain a valid alias configuration
                C:\Projects\Github\Aureus\Aureus.Web\node_modules\application.ts.json doesn't exist
              as directory
                C:\Projects\Github\Aureus\Aureus.Web\node_modules\application.ts doesn't exist
  </code></pre>