project_token
in hand you can get your data flowing by installing and configuring our webpack plugin.fail_build
configuration option or by setting the PT_FAIL_BUILD
environment variable.upload
option above tells the plugin whether or not to upload your build stats when running webpack. By default, this option is set to false
to prevent accidental uploading from your local machine. If the upload option is left false
, the plugin will do nothing.PT_UPLOAD
environment 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_UPLOAD
environment variable set to "true"
the plugin will upload. See our complete list of options and environment variables.