text: 
  // 'use strict';
  
  const webpack = require('webpack')
  const path = require('path')
  const config = require('./config')
  
  /**
   * Common config that can be used in dev & prod environment
   */
  const ENTRY = require('./webpack/entry')
  const LOADERS = require('./webpack/loaders').loaders
  const PLUGINS = require('./webpack/plugins').plugins
  const RESOLVE = require('./webpack/resolve')
  
  /**
   * Config
   */
  const PUBLIC_PATH = config.public_path
  
  module.exports = {
      // dectool should be false if env is production!!!
      devtool: false, // false || 'cheap-eval-source-map'
  
      entry: ENTRY,
  
      output: {
          path: path.join(__dirname, "build"),
          filename: "bundle/[name].js",
          publicPath: PUBLIC_PATH
      },
  
      module: {
          loaders: LOADERS.concat([
              {
                  test: /\.(gif|png|jpg)\??.*$/,
                  use: [
                      {
                          loader: 'url-loader',
                          options: {
                              limit: 1024,
                              name: '/images/[hash].[ext]'
                          }
                      }
                  ]
              },
      
              {
                  test: /\.(woff|woff2|svg|eot|ttf)\??.*$/,
                  use: [
                      {
                          loader: 'url-loader',
                          options: {
                              limit: 1024,
                              name: '/fonts/[name].[ext]'
                          }
                      }
                  ]
              }
          ])
      },
  
      plugins: PLUGINS.concat([
          new webpack.DefinePlugin({
              'process.env': {
                  'NODE_ENV': JSON.stringify('production') // development - production
              }
          })
      ]),
  
      resolve: RESOLVE
  };