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

initialization error #13

Open martingg88 opened 9 years ago

martingg88 commented 9 years ago

Try to follow the steps in readme file but still fail to do so. any idea what cause the following issue?

  1. test.jsx same with app.jsx in readme file
  2. require(['jsx!module/home/test'], function(test){})
  3. errors as follows:

http://www.gshop.com/js/module/home/test.jsx.js -- extra .js extension

scripterror -----------require.js:79 modules:module/home/test.jsx ------------require.js:78 timeout -----------require.js:79

modules:jsx!module/home/test_unnormalized2,jsx!module/home/test