reactjs - React-Dropzones + Webpacks throwing missing index.js.map error -


in project, want use react-dropzones file uploading. works fine, when react-dropzones part of project, trying pull index.js.map file public javascripts folder (and file doesnt exist).

i'm using webpacks 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"       }     } 

i think can ignore that.

map files used make minified css , js files readable adding source line numbers minified code. whenever have minified code, , open browser developer console, browser try download map file. if can't - see minifed js/css without line numbers.

keep in mind long don't open console, browser not try download minified file.

you can read here more minified files, or find out how add js maps using webpack.


Comments

Popular posts from this blog

What is happening when Matlab is starting a "parallel pool"? -

angular - DownloadURL return null in below code -

php - Cannot override Laravel Spark authentication with own implementation -