You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: don't override process variable in DefinePlugin configuration
Following the warning on https://webpack.js.org/plugins/define-plugin/:
> When defining values for process prefer
> `'process.env.NODE_ENV': JSON.stringify('production')` over
> `process: { env: { NODE_ENV: JSON.stringify('production') } }`.
> Using the latter will overwrite the process object which can break
> compatibility with some modules that expect other values on the
> process object to be defined.
0 commit comments