         'pages': path.join process.cwd(), 'pages'
         'posts': path.join process.cwd(), 'posts'
         'drafts': path.join process.cwd(), 'drafts'
-        'elements': path.join __dirname, 'elements'
-        'theme': config.theme,
+        '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'

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

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

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

  return {
