Skip to content

Adds command to 'generate' .js extension#3

Open
chrisbuttery wants to merge 1 commit intomadebyform:masterfrom
chrisbuttery:master
Open

Adds command to 'generate' .js extension#3
chrisbuttery wants to merge 1 commit intomadebyform:masterfrom
chrisbuttery:master

Conversation

@chrisbuttery
Copy link

@chrisbuttery chrisbuttery commented Jul 8, 2016

This PR adds the option to generate a .js extension of your component.

react generate Foo -j
// => foo.js

react generate Foo --js
// => foo.js

react generate Foo
// => foo.jsx

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant