Open lasharela opened 1 year ago
@lasharela Would you mind trying to add GENERATE_SOURCEMAP=false
to your .env and see if this unblocks you?
@BennyKitchell - Thanks. this works
Unfortunately this is disabling sourcing in whole application. so, we can't go with this.
@lasharela This is a known issue with webpack, I have been unable to find a workaround.
For now, could you try adding this to your webpack.config.js
file?
This should block only source map complaints from lob. In the meantime, I will leave this issue open until I can find a worthy solution.
const { merge } = require('webpack-merge');
module.exports = (config, context) => {
return merge(config, {
module: {
rules: [
{
enforce: 'pre',
test: /\.js$/,
use: ['source-map-loader'],
exclude: ['/node_modules/@ lob']
}
]
}
});
};
hi, even i am having same issue, found any solution for this?
Summary
While running react application we are getting Wornings in console:
Expected Behavior
clean console log, without warnings. Because application is re-rendering multiple times, while initialization we see this warning many times.