Using DefinePlugin for my feature flag or toggle. here is the code reference.
new webpack.DefinePlugin({
'NICE_FEATURE': JSON.stringify(false),
})
It compiles and app can refer the value correctly. If I update the value to true and after I run npm i and then I still see the old value. Can you please help here.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Using DefinePlugin for my feature flag or toggle. here is the code reference.
new webpack.DefinePlugin({
'NICE_FEATURE': JSON.stringify(false),
})
It compiles and app can refer the value correctly. If I update the value to true and after I run npm i and then I still see the old value. Can you please help here.