Re:React 0.14 Release Candidate
by technion on Saturday September 12, 2015 @12:38AM
(#10207236)
>React now supports two compiler optimizations that can be enabled in Babel 5.8.23 and newer. Both of these transforms should be enabled only in production (
Am I missing something about how you tell Babel to enable/disable these?
Re:React 0.14 Release Candidate
by spicyj on Saturday September 12, 2015 @02:39AM
(#10207478)
Enable them like you would enable or disable any other babel transformer, using the "optional" param in .babelrc (or --optional on the command line, etc).
Am I missing something about how you tell Babel to enable/disable these?