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
{{ message }}
Repository navigation
Bug - Package Publishing - Published Libraries should follow NPM dual module package standards #11686
This is currently blocking us from using vitest to test because it gets really confused. It tries to import the code as ESM but then is unhappy that the package is not marked as type "module". If we manually add type 'module', it then runs into some code that uses a 'require', which is not valid in the scope of a module.
PatternFly packages should support both ESM and CommonJS using NPM standards for better compatibility.
@kmcfaul Can we look at getting this into a sprint to get this out. It's currently blocking teams from using vite testing and playwright. We should look at getting this addressed for an upcoming release. May have to do a patch release since we can't wait for Q3 release for this.
Activity
github-actions commentedon May 23, 2025
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
dlabaj commentedon Jun 12, 2025
@kmcfaul Can we look at getting this into a sprint to get this out. It's currently blocking teams from using vite testing and playwright. We should look at getting this addressed for an upcoming release. May have to do a patch release since we can't wait for Q3 release for this.
jamestalton commentedon Jun 24, 2025
Still really interested in this as it is blocking us from using vitest.
github-actions commentedon Aug 27, 2025
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.