var path = require("path");
var HTMLPlugin = require("html-webpack-plugin");
var CleanPlugin = require("clean-webpack-plugin");

var config = {

    entry: "./src/js/app.js",

    module: {
        loaders: [
            {
                test: /\.js$/,
                exclude: /(node_modules)/,
                loaders: ["babel-loader", "eslint-loader"]
            },

            {test: /\.css$/, loader: "style!css"},
            {test: /\.woff$/, loader: "url?limit=100000"}
        ]
    },

    resolve: {
        alias: {virtool: path.resolve(__dirname, "./src")}
    },

    node: {
        fs: "empty"
    },

    output: {
        path: "dist",
        filename: "app.[hash].js"
    },

    eslint: {
        configFile: "./.eslintrc"
    },

    plugins: [
        new HTMLPlugin({
            filename: "index.html",
            title: "Virtool",
            favicon: "./src/images/favicon.ico",
            template: "./src/index.html",
            inject: "body"
        }),

        new CleanPlugin(["dist"], {
            verbose: true
        })
    ],

    progress: true,
    colors: true,
    watch: true
};

module.exports = config;
@@ -683,16 +683,48 @@
 ash%5D.js%22
+,%0A        publicPath: %22/static/%22
 %0A    %7D,%0A

Set webpack publicPath to /static/