Nice
looking forward to hear more about the retreat.
- Currently, all files share the same extension. Changing to
.jsxmight seem unusual if your file doesn’t contain any React components. In large projects, this may be mitigated by using preserve mode only for specific packages in the mono repo.
Have you considered a new file extension like *.resx?
So in your example it could compile *.res files to *.res.js and *.resx files to *.res.jsx. resx files will preserve jsx mode and res files wouldn’t.