Webpack - Javascript/Es6
<p>Just trying to run my app in Safari or Edge. <a href="http://ryanspice.com/test/" rel="nofollow">http://ryanspice.com/test/</a></p>

<p>Unfortunately the console gives no errors, no compiling issues, and theres nothing signalling whats wrong. It seems to work perfectly in chrome and firefox. </p>

<p>Edit: From what I can tell the javascript is running</p>

<p>Here's my webpack.config.js </p>



<pre class="lang-js prettyprint-override"><code>var path = require('path');

require("babel-core/register");
require("babel-polyfill");

var env = process.argv.indexOf('--env') === -1 ? false : true;

var spawn = require('child_process').spawn;

var source = {
    input:{
        js:'spice.js',
        html:'./src/index.html',
        path:'./src/',
    },

    output:{
        js:"spice.js",
        html:"../index.html"
    }
}

var webpack = require('webpack');

var webpackPlugins = [];

if (env===true)
{
    source.output.js = "spice.min.js";
    var webpackUglifyJsPlugin = webpack.optimize.UglifyJsPlugin;
    var webpackHtmlPlugin = require('html-webpack-plugin');
    webpackPlugins.push(new webpackUglifyJsPlugin({ minimize: true }));
    webpackPlugins.push(
        new webpackHtmlPlugin({
            filename: source.output.html, template:'./src/index.html'
        })
    );
}

module.exports = {

    entry: ["babel-polyfill", source.input.path + source.input.js],
    output: {
        path: __dirname+"/bld/vendor",
        filename: source.output.js
    },
    module: {
        loaders: [
            {
              loader: "babel-loader",
              include: [path.resolve(__dirname, "src")],
              test: /\.jsx?$/
          },
          {
            test: /\.scss$/,
            loaders: ["style", "css", "sass"]
          }
        ],
        sassLoader: {
          includePaths: [path.resolve(__dirname, "./css")]
        }
    },
    plugins: webpackPlugins
};
</code></pre>

<p>Here's my .babelrc</p>

<pre class="lang-js prettyprint-override"><code>{
    "presets": ["es2015","stage-0"]
}
</code></pre>