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
{{ message }}
This repository was archived by the owner on Jul 7, 2020. It is now read-only.
Setting process.env.NODE_ENV to 'production' in an applications webpack config, as referenced in the debug file (amongst others), should create an optimised build without debug messages being shown.
Setting
process.env.NODE_ENVto 'production' in an applications webpack config, as referenced in the debug file (amongst others), should create an optimised build without debug messages being shown.However, during the
fluxthisbuild process, the webpack config uses the define plugin, and replaces theprocess.env.NODE_ENVwith 'development' if not defined.The resulting
fluxthisbuild (which is what is downloaded from npm) therefore contains the code:This means that for applications which make use of
fluxthis, there is no way to create a production build with debugging turned off.