Trace portion is not the same for the code

Trace portion which is being used along with the code in tutorials for redux dev tools is giving a different outcome want some help with this

Hello,
If you add devtool: “source-map” to your webpack.config.js file, trace should work as expected.
Below is what my webpack.config.js file looks like

module.exports = {
entry: “./src/index.js”,
output: {
filename: “app.js”,
path: path.resolve(__dirname, “dist”)
},
devServer: {
contentBase: path.join(__dirname, “dist”),
port: 9000
},
mode: “development”,
devtool: “source-map”
};

1 Like