Open cwiz opened 9 years ago
Works fine after commenting https://github.com/koistya/gulp-render/blob/master/index.js#L66
One solution is to provide a custom transform for .js
files in gulpfile.js
For example, if a filename contains /node_modules/material-ui/
then use JSX transform, otherwise use the default one.
I'm getting SyntaxError: Unexpected token < when require external modules with js extenstion and jsx syntax. How to do it properly?