 _ = require 'lodash'
 webpack = require 'webpack'
 UglifyJsPlugin = require 'uglifyjs-webpack-plugin'
-ExtractTextPlugin = require 'extract-text-webpack-plugin'
 HappyPack = require 'happypack'
 happyThreadPool = HappyPack.ThreadPool(size: 8);
 

    ]
    rules: _.values(STATICS)
  plugins: [
    new ExtractTextPlugin('[name].css'),
    HAPPY_PACK_PLUGINS...
  ]


  path: "#{projectConfig.basePath}/dist"
  publicPath: "/assets/"

# This used to return extractText plugin but that's no longer used
# Method is left in case there's more plugins that only are used in build later
makeBuildPlugins = (projectConfig) ->
  []

makePathsBase = (projectConfig) ->
  {basePath} = projectConfig
