Create tsx/jsx file at destination without child folder
Hi In my company we are working with nextjs, react and storyblok as cms.
I would like to create only a .tsx file at /base/dir/FileName.tsx. Curently i am only able to create the File like this: /base/dir/FileName/FileName.tsx. I also dont need the index.ts file that is generated every time.
I would love to see this be configurable in the configfile
best regards k4linx let me know if you need any more information
Hi k4linx, Sorry for the delayed response!
Agrippa v1 used to have a "flat" flag that would generate only the component file, without a dedicated directory or styling/index files. Sounds like what you need.
I guess I never got around to implementing it in v2 - I'll try to get something out when I have some time. Will update.