patternfly / patternfly-elements

PatternFly Elements. A set of community-created web components based on PatternFly design.
https://patternflyelements.org/
MIT License
375 stars 85 forks source link

fix(tools): react wrapper syntax errors #2772

Closed bennypowers closed 2 weeks ago

bennypowers commented 2 weeks ago

What I did

  1. remove extraneous , from generated react wrapper modules when there is more than one element exported.

Testing Instructions

  1. run the build on rhds and confirm that rh-navigation-secondary-dropdown.js does not include the pattern /;,$/

Notes to Reviewers

  1. See https://github.com/jspm/project/issues/336#issuecomment-2171057720
  2. With many thanks to the inimitable @guybedford
changeset-bot[bot] commented 2 weeks ago

🦋 Changeset detected

Latest commit: 8eb61f32063af962387ec9f7a5990dfbcbd33012

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | --------------------- | ----- | | @patternfly/pfe-tools | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR