Skip to content

add a main to package.json#1

Open
snario wants to merge 1 commit intoMoosylvania:masterfrom
snario:patch-1
Open

add a main to package.json#1
snario wants to merge 1 commit intoMoosylvania:masterfrom
snario:patch-1

Conversation

@snario
Copy link

@snario snario commented Mar 13, 2015

This allows me to require('react-growl') in npm.

This allows me to `require('react-growl')` in npm.
@snario
Copy link
Author

snario commented Mar 13, 2015

Actually I'm not 100% sure about this, but there needs to be something because requiring right now is pretty annoying:

require('react-growl/app/scripts/Growl/growl.react.js')

and that actually doesn't work for me either because I use the .jsx extension ..

@rickyvetter
Copy link

This should work - but it would probably be better to just change the file structure completely.

@jtdaugherty
Copy link

I also just ran into this problem. A fix in the released version would be very much appreciated!

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.

3 participants