Skip to main content

How to update powrjs

If you need to make changes to powr.js, the javascript file that powr adds to a user's website, you will quickly realize that it is minimized.

You can start by testing your code with powr_local.js and powr_staging.js... Then when you are ready to update prod:

  1. update powr_debug.js
  2. then minify with “npm run build:powrjs