Only flaw with this PR is that it doubles down on the unnecessary transpilation of server code during testing. Better would be to selectively transpile only front-end code, since we don't transpile the server during runtime anyway. Other than that, this setup using babel-preset-env and babel-polyfill together seems to be the cutting edge of supporting environments as they evolve, rather than targeting specific features or ES versions.
Ugh, as often happens, this PR was opened against the parent repo (queerviolet) instead of the fork (fullstackacademy). My No. 1 pet peeve about GitHub forks.
Closes #81, closes #104, closes #105.
Only flaw with this PR is that it doubles down on the unnecessary transpilation of server code during testing. Better would be to selectively transpile only front-end code, since we don't transpile the server during runtime anyway. Other than that, this setup using
babel-preset-env
andbabel-polyfill
together seems to be the cutting edge of supporting environments as they evolve, rather than targeting specific features or ES versions.