Skip to content

Fix import to use named export from Plug package#536

Merged
marcospassos merged 1 commit into
masterfrom
fix-cjs-bundle
Apr 29, 2025
Merged

Fix import to use named export from Plug package#536
marcospassos merged 1 commit into
masterfrom
fix-cjs-bundle

Conversation

@marcospassos
Copy link
Copy Markdown
Member

Summary

This PR updates the Plug React code to correctly import croct as a named export instead of accessing it via default.
This change is necessary because the CJS build of the Plug package now exports named modules properly.

Related to: #337

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules
  • I have checked my code and corrected any misspellings

@marcospassos marcospassos added the bug Something isn't working label Apr 29, 2025
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Apr 29, 2025

Open in StackBlitz

npm i https://pkg.pr.new/@croct/plug-react@536

commit: d05eb62

@marcospassos marcospassos merged commit e441874 into master Apr 29, 2025
19 of 20 checks passed
@marcospassos marcospassos deleted the fix-cjs-bundle branch April 29, 2025 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant