diff options
| author | Aleck Landgraf <aleck.landgraf@buildingenergy.com> | 2015-09-20 17:31:47 -0700 |
|---|---|---|
| committer | Aleck Landgraf <aleck.landgraf@buildingenergy.com> | 2015-09-20 17:31:47 -0700 |
| commit | 0dcd22e8a5f40a7779379fdea6c5aa4545e5a27e (patch) | |
| tree | c01e8aec609a87f02ea15724fea21b68e47d76a9 | |
| parent | a69b1db363af69a9e3d27090c6396b1971a57c59 (diff) | |
| download | django-compressor-0dcd22e8a5f40a7779379fdea6c5aa4545e5a27e.tar.gz | |
Update reactjs.txt
| -rw-r--r-- | docs/reactjs.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/reactjs.txt b/docs/reactjs.txt index 9a5f6f7..c1dfc8b 100644 --- a/docs/reactjs.txt +++ b/docs/reactjs.txt @@ -3,14 +3,14 @@ Facebook React Support ====================== -Assuming you have `npm` available, you can integrate React with Django Compressor by following the -`react-tools installation instructions`_ and adding an appropriate ``COMPRESS_PRECOMPILERS`` -setting: +Assuming you have `npm` available, you can install `babel` via `npm install -g babel` and integrate React with +Django Compressor by following the `react-tools installation instructions`_ and adding an appropriate +``COMPRESS_PRECOMPILERS`` setting: .. code-block:: django COMPRESS_PRECOMPILERS = ( - ('text/jsx', 'cat {infile} | jsx > {outfile}'), + ('text/jsx', 'cat {infile} | babel > {outfile}'), ) |
