 gulp        = require 'gulp'
-assign      = require 'object.assign'
 eslint      = require 'gulp-eslint'
 webpack     = require 'webpack'
 
-path        = require('../gulpconfig').path
-webpackConf = require '../webpack.config.base'
+path           = require('../gulpconfig').path
+webpackDevConf = require '../../webpack.config.dev'
+webpackConf =
+  dev: webpackDevConf
 
 runWebPack = (config, done) ->
-  config = assign config, webpackConf
+  config = Object.assign(config, webpackConf.dev)
 
   webpack(config).run (err, stats) ->
     if err

#     $SCRIPTS VENDORS
#*------------------------------------*/
gulp.task 'scripts:vendors', (done) ->
  # files = [
  #   "#{path.dev.js}/vendor.js"
  # ]

  # runWebPack(entries, {}, done)
  #

  gulp.src(files)
    .pipe(eslint())
    .pipe(eslint.format())
