How can I use django-pipeline for JSX with browserify?
I am setting up the asset pipeline for a new project. We already use React.js along with webpack in a gulp-based build system and would like to use React for the new project as well. Now, since the application is written in django, I would like to port the pipeline to django-pipeline. Ok, I can replace webpack with pipeline-browserify, and there's also PyReact for jsx compiling. But I am unable to pipe my jsx files first through the JSX compiler and then to browserify. As far as I can tell, there is just a single compiler stage with django-pipeline. Or am I missing something? Please tell me I'm wrong... Thanks!
My quick way for dealing with this was just to also use the reactify plugin for browserify and adding PIPELINE_BROWSERIFY_ARGUMENTS = '-t reactify' to my Django settings. Django-pipeline does support putting multiple compilers, though in my particular case, since I've used browserify more than django-pipeline, I used the single browserify compiler instead.
Is there a way to prevent django-pipeline from creating new jsx files every time it compiles react.js code?
Get user id with request.POST.get works, but value seems to be no integer
Django Form Processing With Custom Widget
Django-Rest: Reusable application design
Self referencing one to many Model
Error on accessing model details in admin after upgrade to django 1.7
Django queries and translatable models
How to include a function call in a Django template?
Django models, queryset using get_FOO_display()
Django's makemigrations with RegexValidator throws TypeError
How to connect to server with only username and public ssh key?
Django: Form field input forgotten/deleted for FileField upon validation
How to open an existing remote Django project in PyCharm
Mezzanine CMS Django contact us form returns POST 500 error
How to query the object and its children to JSON?
How to add extra (custom) fields in Django-registration 1.0