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

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

Categories

HOME
google-app-engine
developer-tools
ecmascript-6
redux-form
jmx
swt
solver
jax-ws
angularfire2
nfs
activecollab
php-5.6
zerobrane
mongodb-csharp
intershop
dimensional-modeling
google-picker
git-extensions
guzzle
babel
easeljs
mount
onload
beautifier
jquery-multiselect
flooding
apktool
ceylon
sqsh
autodesk-designautomation
livelink
jett
biztalk-rule-engine
arduino-ide
sql-server-ce
health-monitoring
demo
dbnull
contract
signal-strength
oim
opencmis
gitlist
semantic-logging
quicktime
lsyncd
flac
cvxpy
stripe-connect
pacemaker
segment-io
tinkerpop3
lean
pre-build-event
android-wake-lock
angular-ui-typeahead
state-restoration
linklabel
computer-architecture
rpart
batik
git-ftp
snackbar
deform
iso-prolog
raygun
encryption-asymmetric
dsym
openargs
eclipse-kepler
process-explorer
scmmanager
extreme-programming
midlet
azman
floating-point-exceptions
stress
virtualpathprovider
jquery-address
apache-commons-dbutils
box2d-iphone
agility.js
gobject-introspection
entity-attribute-value
drawtobitmap
cuteeditor
msr
svk
metaweblog
vs-android
jqueryform
filesystemobject
scrubyt
flvplayback

Resources

Encrypt Message



code
soft
python
ios
c
html
jquery
cloud
mobile