Just realised there isn't an issue open for this. I would really like to start modularising the code, because it will make thingsm uch easier.
What I suggest:
We use ES6 modules with rollup (advantage of rollup is that it removes unnecessary code from the modules, reducing our overall size)
We modularise based on feature, so 1 for the settings, 1 for getting messages from the server, etc
Once we've done that, we can also move the rest of the code from the libs directory that isn't actually libraries (mainly the handlebars handlers, they are not libraries, so shouldn't be in the libs directory)
Would love feedback on these ideas, as I'd really like to get owrking on it soon. It will make future development easier, including #554
Just realised there isn't an issue open for this. I would really like to start modularising the code, because it will make thingsm uch easier.
What I suggest:
Would love feedback on these ideas, as I'd really like to get owrking on it soon. It will make future development easier, including #554