'use strict';

const path = require('path');
const config = require('./express/config');
const NODE_ENV = process.env.NODE_ENV || 'development';

module.exports = {
    context: path.join(__dirname, '/public/src'),

    entry: {
        'app': './app.jsx',
        'admin': './admin.jsx'
    },

    output: {
        path: path.join(__dirname, '/public/build'),
        filename: '[name].js',
        chunkFilename: '[id].chunk.js',
        publicPath: config.cdn + '/build/'
    },

    watch: (NODE_ENV === 'development' && NODE_ENV !== 'codeship'),

    watchOptions: {
        aggregateTimeout: 100
    },

    devtool: NODE_ENV === 'development' ? 'source-map' : null,

    plugins: require('./webpack/plugins'),

    module: {
        loaders: require('./webpack/loaders'),
        preLoaders: require('./webpack/preloaders')
    },

    postcss: require('./webpack/postcss'),
    eslint: require('./webpack/eslint/.eslintrc.json')
};
@@ -42,52 +42,8 @@
 ');%0A
-const config = require('./express/config');%0A
 cons
@@ -406,21 +406,8 @@
 ath:
- config.cdn +
  '/b

Revert 8c93e2d8d1e8cecaf0e46dabbafc4123b367be84.