/*global require: false, module: false, __dirname: false */
'use strict';
var HtmlWebpackPlugin = require('html-webpack-plugin');
var webpack = require('webpack');

module.exports = {
	historyApiFallback: true,
	entry: "./js/bogorouter",
	output: {
		path: "build",
		publicPath: "/",
		filename: "[name].js"
	},
	module: {
		loaders: [
			{ test: /\.js$/, exclude: /node_modules/, loader: 'babel-loader?optional=runtime,cacheDirectory=cache'}
		]
	},
	plugins: [
		new HtmlWebpackPlugin({
			title: "Template Project",
			filename: "index.html",
			template: "page.template"
		}),
		new webpack.OldWatchingPlugin()
	],
	resolve: {
		extensions: ['', '.js', '.json', '.coffee'],
		root: __dirname + "/js"
	}
};

@@ -222,18 +222,13 @@
 /js/
-bogorouter
+index
 %22,%0A%09
@@ -250,13 +250,14 @@
 h: %22
-build
+./dist
 %22,%0A%09
@@ -291,17 +291,90 @@
 e: %22
-%5Bname%5D.js
+static-interval-tree.js%22,%0A%09%09library: %22static-interval-tree%22,%0A%09%09libraryTarget: %22umd
 %22%0A%09%7D
@@ -470,25 +470,8 @@
 der?
-optional=runtime,
 cach

Update build for umd.