django


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.

Related Links

Django - Sending emails using class based view
Django group sublist permission
Django-allauth socialaccount provider_login_url has NULL for process, scope and params
Receive obj must be an instance or subtype of type when trying to call a class method
SyntaxError: invalid syntax when installing graphite
Django-Haystack returns no results in search html
Convert data on AlterField django migration
Save with update_fields did not affect any rows (while changing class)
How to run 2 sites with Django channels on the same host?
Django sharing anotations between related Items
OpenAM oAuth 2.0 authentication failed
Providing initial values to formset in django admin inline for a custom form
doing POST on Django Rest Framework with viewsets return “405 - METHOD POST NOT ALLOWED”
Can't query the sum of values using aggregators
Passwordless User authentication with a Django or just any REST API system
Error running development server with Postgres user in Django

Categories

HOME
kentico
developer-tools
apache-jena
amp-html
google-spreadsheet
zend-framework
mysql-workbench
saml-2.0
spring-data-redis
google-cloud-datalab
banner
vert.x
arangodb
g++
jquery-ui-sortable
ycsb
altera
job-scheduling
microsoft-dynamics-nav
red5
foreign-keys
jmp
visual-glitch
squashfs
imagemap
epsilon
spotipy
errbot
openmdao
catch-unit-test
gnat-gps
hibernate-search
nested-lists
imx6
protege4
protein-database
health-monitoring
google-data-api
p4merge
dbnull
outputcache
vaadin-charts
servermanager
dotnet-httpclient
tinymce-3
video-conferencing
truezip
d3-force-directed
vibrate
change-tracking
slackware
pure-css
meteor-packages
builtins
redistributable
mongodb-php
x-tag
cfchart
kango-framework
sklearn-pandas
atan2
java-money
google-books
finalbuilder
baasbox
avahi
telepat
cakephp-2.7
showdialog
post-commit-hook
device-tree
draw2d-js
buffering
synapse
multitasking
ora-06550
cnf
superscrollorama
stacky
web-notifications
joomla3.1
koken
landscape-portrait
cac
cruisecontrol.rb
drupal-fivestar
opml
murmurhash
lxr
lalr
lobo-cobra
linfu-dynamicproxy
lemmatization
great-circle

Resources

Encrypt Message