- ESM and CommonJS extensions now have their respective filename extensions (.cjs & .mjs).
Why we released these changes: “The imported are Next”
While everything is working perfectly fine with the fixes made in previous versions, there were some annoyances in the state of the previous version. While you can transpile packages, import them relative to the use of webpack/babel to handle many fixes for you, it’s not a seamless experience when using the Gleamy NPM package. This fix helps ensure that certain environments, such as NextJS, can find the correct settings on their own. The file extensions will assist in selecting the appropriate library type provided in Gleamy.