In my project, I want to use React-Dropzones for file uploading. Everything works fine, but when React-Dropzones is part of the project, its trying to pull an index.js.map file from my public javascripts folder (and this file doesnt exist).
I'm using Webpacks with the following config:
{
      entry: './app/js/' + file,
      output: { 
        path: path.resolve(__dirname, 'public/javascripts_react'), 
        filename: file.replace(".js", "") + mode + ".js" },
      module: {
        loaders: [
          {
            test: /.js?$/,
            loader: 'babel-loader',
            exclude: /node_modules/,
            query: {
              presets: ['es2015', 'react', 'stage-2']
            }
          }
        ]
      },
      node: {
        fs: "empty",
        module: "empty"
      }
    }
 
    