Skip to content

Support for .jsx extension #1

Description

@dfreire

It would be nice if react component files could have the .jsx file extension.

A quick test renaming the App.js component to App.jsx and fixing the imports, will throw:

28 06 2016 16:58:42.861:WARN [web-server]: 404: /base/src/components/App.jsx.js
PhantomJS 2.1.1 (Mac OS X 0.0.0) ERROR
  Error: (SystemJS) XHR error (404 Not Found) loading /demo/react-boilerplate/src/components/App.jsx.js
    Error loading /demo/react-boilerplate/src/components/App.jsx.js as "../../src/components/App.jsx" from /demo/react-boilerplate/tests/components/App.spec.js

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions