Script Manager

Manage DEV, TEST and PROD script Urls with automatic context switching.

Designed to pair especially well with Github CI/CD setups and CDN URLs.

See your TEST branch code on Staging, and your PROD branch code on your live site. Invoke DEV mode anytime for localhost testing.

collaboration illustration

Demonstration

Depending on the mode you're in, the Script Manager component will load the specified script.
By default, staging loads TEST code, and production loads PROD code.
You can override that by appending ?dev, ?test, or ?prod to the URL to enter any mode and load those scripts instead on the current page.