Home twitter


040

Playing around with ES6 Modules

June 5, 2020

ES6 modules seem easy enough to implement.

Seem.

I've been refactoring and streamlining code for a library I'm working, converting everything over to ES6 modules. And for the library, that will be fine. For this CMS that I'm working on, I have a development to really fuck around with, and today I decided to see if I could convert the whole thing ES6 modules as well.

That didn't turn out nearly as successfully as I hoped. But it doesn't mean it isn't possible. I'm missing something in the conversion process. And that's fine. This project exists for exploration, so as I learn more about objects and classes, I'll be able to make more successful changes to this project.