 gulp.task "webpack:build", (callback) ->
 
   # Modify some webpack config options.
-  config = Object.create(webpackConfig)
+  config = _.extend {}, webpackConfig
   config.plugins = config.plugins.concat(
     new webpack.DefinePlugin(
       # This has effect on the react lib size.

    callback()
    return

  return


# Modify some webpack config options.
devConfig = Object.create(webpackConfig)
devConfig.devtool = "sourcemap"
devConfig.debug = true


webpack = require("webpack")
WebpackDevServer = require("webpack-dev-server")
webpackConfig = require("./webpack.config.js")
_ = require 'underscore'

# Load plugins
$ = require('gulp-load-plugins')()
