Cannot resolve when requiring *.react.js

Hi Allm

When using:

var t = require("t");

webstorm doesn't give an error when there is a file t.js. However when the file is a react component and is named t.react.js, it gives an "Cannot resolve file" error. How can I configure webstorm to properly resolve this ?

Regards,
Mark

Please sign in to leave a comment.