Subbly.js SDK
Keep Subbly.js up to date
Pin a version in production, so a new release cannot change your storefront before you test it.
- npm.
npm installwrites the exact version to your lock file. To upgrade, runnpm install @subbly/sdk@latest, then test and commit the new lock file. - CDN. The bare URL always serves the latest release. Put the version in the URL instead, and change it when you upgrade:
Pin the CDN version
To see which version a page runs, read
subbly.VERSION.
Last modified on