This repository was archived by the owner on Oct 10, 2022. It is now read-only.

Description
I am using the js-client with Next.js and the netlifyAPI class increases my bundle size by approx. 20 KB, although I am using just a few methods. This is too much for a typical SPA and should be reduced. I have not found a way to include only the methods I actually need, which would substantially reduce the bundle size.
I think the problem is that all methods specified are exported:
| module.exports.methods = getOperations() |
| const { paths } = require('@netlify/open-api') |
Feature request: Implement a configuration option which allows only to include pre-specified methods with the aim to substantially reduce bundle size.