When set to
true, this option disables the Sharp-based image optimization during the portal build.
Add it to the top level of the
By default, this option is set to
false and image optimization is applied during the portal build.
In portal development mode, image optimization is disabled by default. To enable it in your local development server, you must:
- either add the
--with-images-optimizationflag to the
- or run the server with
yarn start --with-images-optimization.
meta: title: Example Developer Portal description: Learn how to work with Example APIs disableImagesOptimization: true