// Common webpack configuration used by webpack.hot.config and webpack.rails.config.

const path = require('path');

module.exports = {

  // the project dir
  context: __dirname,
  entry: ['./assets/javascripts/App'],

  // In case you wanted to load jQuery from the CDN, this is how you would do it:
  // externals: {
  //   jquery: 'var jQuery'
  // },
  resolve: {
    root: [
      path.join(__dirname, 'scripts'),
      path.join(__dirname, 'assets/javascripts'),
    ],
    extensions: ['', '.webpack.js', '.web.js', '.js', '.jsx', '.scss', '.css', 'config.js'],
  },
  module: {
    loaders: [
      // React is necessary for the client rendering:
      {test: require.resolve('react'), loader: 'expose?React'}
    ],
  },
};

@@ -591,24 +591,25 @@
  loaders: %5B%0A
+%0A
       // Rea
@@ -712,16 +712,17 @@
 ?React'%7D
+,
 %0A    %5D,%0A

fix js linter issue