Makefile: Add support to use babel to compile React code using JSX
authorCarl Worth <cworth@cworth.org>
Mon, 25 May 2020 19:18:42 +0000 (12:18 -0700)
committerCarl Worth <cworth@cworth.org>
Tue, 26 May 2020 03:52:45 +0000 (20:52 -0700)
commit7981f047e7ad9da24f76e6aded3c516c8f2dc563
treedae146f4b94c5b1c39bd602b23bd477f3b035945
parent7df3bbda08d2305fc9149db3adc007bfd1d4bbf5
Makefile: Add support to use babel to compile React code using JSX

This is in preparation for starting to use React to implement LMNO
game clients.

In this commit, the previous "make dev" target is now simply "make",
and the previous "make prod" target is now "make LMNO_BUILD=production".
This latter command is definitely annoying to remember, but should
almost never need to be executed manually; instead the developer will
likely invoke "make deploy" which knows how to do a production build.
.babelrc [new file with mode: 0644]
Makefile
README