Often we talk about incremental code evolution we should consider more often decrementing code
reducing dependencies here are some strategies that are efficient in the ECMAScript world.
rollup into a single ES version and export from that what you need this can be done via rollup and can be fine-tuned via it also till you end up in code that is only maintained by you.
You will ask why should I want to maintain code? It is a part of your app you are responsible for all your dependencies anyway research and followup are most time more expensive than own maintained code.
Often we talk about incremental code evolution we should consider more often decrementing code reducing dependencies here are some strategies that are efficient in the ECMAScript world.
rollup into a single ES version and export from that what you need this can be done via rollup and can be fine-tuned via it also till you end up in code that is only maintained by you.
You will ask why should I want to maintain code? It is a part of your app you are responsible for all your dependencies anyway research and followup are most time more expensive than own maintained code.