π 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.scss
file.test.tsx
fileThis often led to unused or stubbed files piling up in the repo.
.module.scss
file?βYou choose what's actually needed. Cleaner commits, faster workflows.
π¦ Auto-Export in
package.json
You no longer need to manually update the
exports
field inpackage.json
. The generator now:exports
mapThis makes publishing and consuming components much more seamless.
π¬ Feedback Welcome!
Weβd love to hear your thoughts on this:
index.ts
nesting logic?Drop a reply here or open an issue/PR with suggestions!
Onward and upward π
Beta Was this translation helpful? Give feedback.
All reactions