Added split code path based on the file extension.
Added split code path based on the file extension.

Prevents transformation of non JSX files.

rockneurotiko/grunt-jshint-react,agilityworks-uk/grunt-jsxhint,tillarnold/grunt-jsxhint