var debug = process.env.NODE_ENV !== 'production';
var webpack = require('webpack');

module.exports = {
  context: __dirname,
  devtool: debug ? 'inline-sourcemap' : null,
  entry: [
    'font-awesome-loader',
    __dirname +'/js/main.js'
  ],
  output: {
    path: __dirname,
    filename: 'js/main.min.js'
  },
  plugins: debug ? [new webpack.ProvidePlugin({
      $ : 'jquery',
      Backbone : 'backbone',
      _ : 'underscore'
    })] : [
      new webpack.optimize.DedupePlugin(),
      new webpack.optimize.OccurenceOrderPlugin(),
      new webpack.optimize.UglifyJsPlugin({ mangle: false, sourcemap: false }),
      new webpack.ProvidePlugin({
        $ : 'jquery',
        Backbone : 'backbone',
        _ : 'underscore'
      })
    ],
  module: {
    loaders: [
      { test: /\.js$/, loader: 'babel-loader' },
      { test: /\.css$/, use: ['style-loader', 'css-loader', 'postcss-loader'] },
      { test: /\.scss$/, use: ['style-loader', 'css-loader', 'postcss-loader', 'sass-loader'] },
      {
        test: /\.woff2?(\?v=[0-9]\.[0-9]\.[0-9])?$/,
        use: 'url-loader?limit=10000&name=fonts/[name].[ext]',
      },
      {
        test: /\.(ttf|eot|svg)(\?[\s\S]+)?$/,
        use: 'file-loader?name=fonts/[name].[ext]',
      },

      { test: /bootstrap-sass\/assets\/javascripts\//, use: 'imports-loader?jQuery=jquery' },
      { test: /backbone/, loader: 'imports-loader?_=underscore,jQuery=jquery' }


    ]
  }
};
@@ -1257,17 +1257,16 @@
  %7B test:
- 
 /bootstr
@@ -1276,18 +1276,26 @@
 sass
+%5B
 %5C/
+%5C%5C%5D
 assets
+%5B
 %5C/
+%5C%5C%5D
 java
@@ -1305,16 +1305,23 @@
 ipts
+%5B
 %5C/
-/, use
+%5C%5C%5D/, loader
 : 'i

Fix the path for Windows