v2.x to v3.x Migration Guide
This major release of this Gatsby theme moves Gatsby and all related Gatsby plugins and transformers from direct dependencies to peerDependencies so that consumers of this package can upgrade Gatsby without any intervention from Chord. This will require you to do more than just bump this version in the package.json.
First, edit your package.json to remove @chordcommerce/gatsby-theme-performance and any of the package's peerDependencies from your dependencies list. We will be reinstalling them next. These peerDependencies are:
Then, run the following command in your shell:
If this command fails, npx will output an npm install/yarn add command that you can copy and run manually.
For more information and caveats around this, please read the installation instructions for this package.