     node: __filename: true
     output:
       path: path.join process.cwd(), './.antwar/build/'
-      publicPath: ''
+      publicPath: '/'
       filename: '[name]-bundle.js'
       chunkFilename: '[chunkhash].js'
     plugins: []

ExtractTextPlugin = require 'extract-text-webpack-plugin'

getCommon = (config) ->
  if !config.theme
    return console.error('missing theme!')

  return {

        'pages': path.join process.cwd(), 'pages'
        'posts': path.join process.cwd(), 'posts'
        'drafts': path.join process.cwd(), 'drafts'
        'config': path.join process.cwd(), 'antwar.config.js'
        'elements': path.join __dirname, 'elements' # Should be removed in favour of antwar-core
        'antwar-core': path.join __dirname, 'elements'
        'theme': config.theme.name,
      extensions: [
        ''
        '.webpack.js'
