uploadoption above tells the plugin whether or not to upload your build stats when running webpack. By default, this option is set to
falseto prevent accidental uploading from your local machine. If the upload option is left
false, the plugin will do nothing.
PT_UPLOADenvironment variable on a per environment basis or check your CI provider's environment variables to control the upload of your stats.
project_token!) from an environment variable. In this case, if your environment has the
PT_UPLOADenvironment variable set to
"true"the plugin will upload. See our complete list of options and environment variables.