- Component or Package Name: jsx-email
- Component or Package Version: 2.7.3
Expected Behavior / Situation
Support .js file extension for email template files, either through a config option or out-of-the-box. .jsx is recommended but not required for React components files and some build environments, for whatever reason, won't be able to easily add the .jsx extension.
Actual Behavior / Situation
Although the terminal lists .js files in the validFiles array in the terminal output of the email preview command, they are not visible in the preview app navigation list.
Modification Proposal
Support .js file extension for email template files, either through a config option or out-of-the-box.
Expected Behavior / Situation
Support
.jsfile extension for email template files, either through a config option or out-of-the-box..jsxis recommended but not required for React components files and some build environments, for whatever reason, won't be able to easily add the.jsxextension.Actual Behavior / Situation
Although the terminal lists
.jsfiles in thevalidFilesarray in the terminal output of theemail previewcommand, they are not visible in the preview app navigation list.Modification Proposal
Support
.jsfile extension for email template files, either through a config option or out-of-the-box.