podio / requirejs-react-jsx

A RequireJS plugin for loading jsx in development and compiling (with r.js). Supports bundling and 1:1 source maps in development and production.
MIT License
104 stars 20 forks source link

Update docs to be explicit for odd setups #4

Closed bzmw closed 9 years ago

bzmw commented 9 years ago

I have a bit of an odd setup and I had to do define the following in my requirejs.conf

    'react': 'bower_components/react/react-with-addons',
    'JSXTransformer': 'bower_components/react/JSXTransformer',
    'jsx': 'bower_components/requirejs-react-jsx/jsx',
    'text': 'bower_components/requirejs-text/text'

the text module is required my requirejs-react-jsx and with an odd setup it doesn't find it magically.

alexwasner commented 9 years ago

I had a similar issue that was resolved with @bzmwillemsen fix

srn commented 9 years ago

Thanks guys, I've added the text plugin in the readme.md.