﻿var ExtractTextPlugin = require("extract-text-webpack-plugin");
var path = require("path");

module.exports = {
    entry: "./index",
    output: {
        path: __dirname,
        filename: "bundle.js"
    },
    resolve: {
        extensions: ["", ".js", ".jsx"],
        alias: {
            common: path.resolve(__dirname, "common")
        }
    },
    externals: {
        "jquery" : "jQuery",
        "react" : "React"
    },
    module: {
        loaders: [
            { test: /\.jsx?$/, loader: "jsx" },
            { test: /\.css$/, loader: ExtractTextPlugin.extract("style", "css") },
            { test: /\.less$/, loader: ExtractTextPlugin.extract("style", "css!less") },
            { test: /\.(png|jpg)$/, loader: "url?limit=8192" }
        ]
    },
    plugins: [
        new ExtractTextPlugin("bundle.css")
    ]
};
@@ -1,9 +1,37 @@
 %EF%BB%BF
+var path = require(%22path%22);%0A
 var Extr
@@ -89,36 +89,8 @@
 n%22);
-%0Avar path = require(%22path%22);
 %0A%0Amo
@@ -121,17 +121,83 @@
 ry: 
-%22./index%22
+%7B%0A        index : %22./index%22,%0A        error_404 : %22./common/error_404%22%0A    %7D
 ,%0A  
@@ -252,16 +252,23 @@
 ename: %22
+%5Bname%5D.
 bundle.j
@@ -442,37 +442,8 @@
 : %7B%0A
-        %22jquery%22 : %22jQuery%22,%0A
     
@@ -850,16 +850,23 @@
 Plugin(%22
+%5Bname%5D.
 bundle.c

update entry