React app building locally, not via Firebase
<p>I finished a React app and would like to deploy it to Firebase for hosting (storage as well but first things first). It's building fine with my Webpack localhost setup, but when I deploy and load with Firebase I get a white screen and:</p>

<pre><code>client.min.js:1 Uncaught SyntaxError: Unexpected token &lt;
</code></pre>

<p>There isn't an angle bracket on that line. I've included my error message, firebase HTML ([my-company] is a different string in my code), and webpack.config.js:</p>

<pre><code>&lt;script src="https://www.gstatic.com/firebasejs/3.2.1/firebase.js"&gt;&lt;/script&gt;
&lt;script src="https://www.gstatic.com/firebasejs/3.2.1/firebase-app.js"&gt;&lt;/script&gt;
&lt;script src="https://www.gstatic.com/firebasejs/3.2.1/firebase-auth.js"&gt;&lt;/script&gt;
&lt;script src="https://www.gstatic.com/firebasejs/3.2.1/firebase-database.js"&gt;&lt;/script&gt;
&lt;script src="https://www.gstatic.com/firebasejs/3.2.1/firebase-storage.js"&gt;&lt;/script&gt;
&lt;script&gt;
  // Initialize Firebase
  var config = {
    apiKey: "AIzaSyCFRYmS3bFScffCG8Ko7QRieDWExeaa_yE",
    authDomain: "[mycompany]-records.firebaseapp.com",
    databaseURL: "https://[mycompany]-records.firebaseio.com",
    storageBucket: "[mycompany]-records.appspot.com",
  };
  firebase.initializeApp(config);
&lt;/script&gt;
</code></pre>

<p>webpack.config.js :</p>

<pre><code>var debug = process.env.NODE_ENV !== "production";
var webpack = require('webpack');
var path = require('path');

module.exports = {
  context: path.join(__dirname, "src"),
  devtool: debug ? "inline-sourcemap" : null,
  entry: "./js/client.js",
  module: {
    loaders: [
      {
        test: /\.jsx?$/,
        exclude: /(node_modules|bower_components)/,
        loader: 'babel-loader',
        query: {
          presets: ['react', 'es2015', 'stage-0'],
          plugins: [
            'react-html-attrs', 
            'transform-class-properties', 
            'transform-decorators-legacy'
          ],
        }
      }
    ]
  },
  output: {
    path: __dirname + "/src/",
    filename: "client.min.js"
  },
  plugins: debug ? [] : [
    new webpack.optimize.DedupePlugin(),
    new webpack.optimize.OccurenceOrderPlugin(),
    new webpack.optimize.UglifyJsPlugin({ mangle: false, sourcemap: false }),
  ],
};
</code></pre>