Rewriting base href to support proxying

Change-Id: I5c11e1908f095eded3326ac284a9775590e9b210
diff --git a/conf/webpack-dist.conf.js b/conf/webpack-dist.conf.js
index a59ff69..21f8ce3 100644
--- a/conf/webpack-dist.conf.js
+++ b/conf/webpack-dist.conf.js
@@ -6,6 +6,7 @@
 const ExtractTextPlugin = require('extract-text-webpack-plugin');
 const pkg = require('../package.json');
 const autoprefixer = require('autoprefixer');
+const BaseHrefWebpackPlugin = require('base-href-webpack-plugin').BaseHrefWebpackPlugin;
 
 module.exports = {
   module: {
@@ -60,6 +61,9 @@
     new webpack.ProvidePlugin({
       $: "jquery",
       jQuery: "jquery"
+    }),
+    new BaseHrefWebpackPlugin({
+      baseHref: '/spa/'
     })
   ],
   postcss: () => [autoprefixer],