Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Will it support .jsx files? #79

Closed
gocreating opened this issue Jul 9, 2015 · 1 comment
Closed

Will it support .jsx files? #79

gocreating opened this issue Jul 9, 2015 · 1 comment

Comments

@gocreating
Copy link

both gulp-preprocess and preprocessify are using preprocess
but it seems it doesn't support jsx files
will preprocess support jsx in the future?

@BendingBender
Copy link
Contributor

Well, if you're talking about React's jsx, then this is basically JavaScript with some inline XML. In this case you can use the newest version of the lib directly as is. You must however provide the following option to the preprocess() function:

{
  type: 'js'
}

If you're using gulp-preprocess or preprocessify, you'll have to open an issue there so that they bump their dependencies and implement the pass-through of the new options.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants