ARTEMIS-5999 - Switch from CJS to ESM build#189
Conversation
|
@GChuf thanks. I tried moving Hawtio (application built with Here are my notes from last year when I tried this: tsup, webpack and cjs/esm modulesI wanted to change But then webpack kind of do double conversion: The problems:
I had problems with double I still don't fully understand when you need the extension in the import/require statements but looks like I use extensionless imports. AFAIR, extensionless imports work well when Also about the icons - I didn't have problems with extensionless imports. If you check so I stayed with importing (c)js variants... And finally about removing deprecated components - I've migrated the Artemis console (my local, not-yet-pushed branch) to Patternfly 6, but didn't change the styles yet - and yes, it involves the Select/Dropdown component. I'd eventually suggest migrating to PF6 - especially because Hawtio 5 will be using Patternfly 6 (Patternfly 5 is no longer maintained). WDYT? |
No description provided.