You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.