Skip to content

Support js file extension #308

@benadamstyles

Description

@benadamstyles
  • 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions