π Enhancements to Plop Generator β Smarter File Creation & Export Handling #66
mayank1513
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey everyone! π
Weβve just shipped a few solid improvements to our
plop-based React component generator. These changes aim to give you more control and reduce unnecessary file bloat in your components.β¨ Whatβs New?
β Selective File Generation
Previously, every component generated came with:
.module.scssfile.test.tsxfileThis often led to unused or stubbed files piling up in the repo.
.module.scssfile?βYou choose what's actually needed. Cleaner commits, faster workflows.
π¦ Auto-Export in
package.jsonYou no longer need to manually update the
exportsfield inpackage.json. The generator now:exportsmapThis makes publishing and consuming components much more seamless.
π¬ Feedback Welcome!
Weβd love to hear your thoughts on this:
index.tsnesting logic?Drop a reply here or open an issue/PR with suggestions!
Onward and upward π
Beta Was this translation helpful? Give feedback.
All reactions