Hi Ashesh,
The issue is still not fixed, the reason is:
In the first patch, I was setting `production` flag in `definePlugin` like:
const definePlugin = new webpack.DefinePlugin({
'process.env': {
'NODE_ENV': JSON.stringify('production'),
},
});
in development mode but we had the discussion that when webpack is built in dev mode the flag should be 'development' otherwise `production`.
But this issue is fixed only when we are setting `production` in definePlugin, setting `development` mode doesn't fix this.
I have logged an issue in
React
Thoughts?
Thanks,
Surinder