Skip to content

Add support fox tsx files #77

Description

@nistvan86

Debowerify doesn't process tsx files.

Modifying the following line in index.js
if (!/\.(_?js|c?jsx|(lit)?coffee(\.md)?|ls|ts)$/.test(file)) return through();
to this
if (!/\.(_?js|c?jsx|(lit)?coffee(\.md)?|ls|ts|tsx)$/.test(file)) return through();
fixes the issue.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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