Skip to content

Compiling all .js files with JSX using Cassette #52

@mcharytoniuk

Description

@mcharytoniuk

Hello! Thank you for React.NET. This is a great library to handle React Elements easily.

I need to find a way to compile all *.js files with JSX transformer (not only "*.jsx"). I found that there is a hard-coded file extension string inside JsxBundleProcessor.cs file:

if (asset.Path.EndsWith(".jsx", StringComparison.InvariantCultureIgnoreCase))

Is there any way to override this extension so Cassette compiles all "*.js" files? React JSX transformer provides some ES6 features that are useful in general so I think it should be configurable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions