Import specific modules only

Are there any plans of modularizing the NPM package @mobiscroll/javascript so it would be possible to just import the pieces of code that is neeeded?

For instance

import { select, forms } from '@mobiscroll/javascript';

It would be quite helpful for tree shaking for instance, since we are seeing that @mobiscroll/javascript as a whole takes up quite a bit of space in the final bundle file(s).

Yes, we do have plans to support tree-shaking.
Probably will introduce a few backward compatibility issues, so it would be a major version feature.

1 Like

Cool! Do you have a schedule for coming releases btw?