Describe the problem
In cockpit we are importing files like import "@patternfly/react-core/dist/esm/components/Button/index.js";
I was recently analyzing the bundled output and noticed that the files that are imported from react-styles are not the .mjs ones but the plain CommonJS. This results in the use of 'require' instead of 'import'.

Expected behavior
I expect that the esm/ directory imports directly from the .mjs files from react-styles.
Is this issue blocking you?
No